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

How do I get a callback that runs after my entire page has been rendered for the first time? #47

Open
JamesMGreene opened this issue Mar 6, 2014 · 3 comments

Comments

@JamesMGreene
Copy link

Similar to this answered question:

* How do I get a callback that runs after my template is attached to the DOM?*
This is now straightforward with the rendered callback.

How do I get a callback that runs after my entire page has been rendered for the first time? (e.g. similar to window.onload)

@tmeasday
Copy link
Member

tmeasday commented Mar 7, 2014

Does the rendered callback for the outer template not work?

@JamesMGreene
Copy link
Author

I am hoping for something generic where I don't need to specify any particular template name, e.g. Template.all.rendered.

@tmeasday
Copy link
Member

Hmm, nothing like that exists, but you might be able to achieve what you want using a router hook?

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

2 participants