What is the use of a ready-made method in Ember.Application? Will it be called after all views are initialized?

What is the use of a ready-made method in Ember.Application? Will it be called after all views are initialized? Otherwise, there is some kind of handle that I can get from ember that gives a callback after initializing all the views.

+5
source share
1 answer

Ember.Application#ready will light up when the DOM is ready, and your application will be initialized.

What problem are you trying to solve, do you want to receive a callback after initializing all the views?

Ember.View#didInsertElement will tell you when a specific view was added to the DOM.

+6
source

All Articles