I need to fire an event after complete page gets loaded.
I have used Backbone js
library for my application.I have multiple ajax calls in each of the page.But i need to fire some code after completely page gets loaded.
I need to fire an event after complete page gets loaded.
I have used Backbone js
library for my application.I have multiple ajax calls in each of the page.But i need to fire some code after completely page gets loaded.
You might want to use _.defer().
According to the docs:
I would use it as a last statement in
render()
.