Reputation: 2064
what is the use of ready method in Ember.Application? Will it be called after all the views are initialized? Otherwise is there any handle i can get from ember which gives callback after all views are initialized.
Upvotes: 5
Views: 1546
Reputation: 4407
Ember.Application#ready
will fire after DOM ready and your application has been initialized.
What problem are you trying to solve that you'd like to have a callback after all views have been initialized?
Ember.View#didInsertElement
will tell you when a specific view has been inserted into the DOM.
Upvotes: 6