Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access viewModel anymore #13

Closed
silbinarywolf opened this issue Feb 13, 2019 · 0 comments · Fixed by #14
Closed

Cannot access viewModel anymore #13

silbinarywolf opened this issue Feb 13, 2019 · 0 comments · Fixed by #14
Assignees
Labels
bug Something isn't working released

Comments

@silbinarywolf
Copy link
Owner

The problem
Previous changes related to only using enhance mean that I've lost the reference to the viewModel.

The solution
Walk the nodes that have been created and find the viewModel via the controller on the HTMLElement. (access the au property)

@silbinarywolf-travis
Copy link
Collaborator

🎉 This issue has been resolved in version 0.3.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
2 participants