Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Is there a way to have can.view call a callback function when an EJS template is actually rendered and visible on screen?

$
0
0
Thank you all for the responses. I will give the DOMNodeInserted event a try and see if it works. I'll report back with results.

EDIT:

I just tried it and it seems to have worked! Although I'm not 100% satisfied with this solution, it is a solution nevertheless. Maybe in the future, CanJS can support a feature to execute a callback when view fragments are actually inserted into the Dom.

Thanks again for all the help!

Viewing all articles
Browse latest Browse all 3491

Trending Articles