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

StackOverflow https://stackoverflow.com/questions/9525852

  •  15-11-2019
  •  | 
  •  

Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top