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

component create doesn't get fired properly in CodePen #5

Open
enjalot opened this issue Mar 5, 2015 · 0 comments
Open

component create doesn't get fired properly in CodePen #5

enjalot opened this issue Mar 5, 2015 · 0 comments

Comments

@enjalot
Copy link
Contributor

enjalot commented Mar 5, 2015

The component's create function only gets called upon a rerender of the view (triggered by change in model)
here you see create is not logged until you click on a tab:
http://codepen.io/enjalot/pen/JpxGn

you can also move the page.model.set(...) below the fragment code:
http://codepen.io/anon/pen/XJBLGL
and then it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant