Application#boot()

bootPromiseprivate

Defined in packages/ember-application/lib/system/application.js:541

Initialize the application and return a promise that resolves with the Ember.Application object when the boot process is complete.

Run any application initializers and run the application load hook. These hooks may choose to defer readiness. For example, an authentication hook might want to defer readiness until the auth token has been retrieved.

By default, this method is called automatically on "DOM ready"; however, if autoboot is disabled, this is automatically called when the first application instance is created via visit.

Returns:

Promise
doc_EmberJs
2016-11-30 16:48:25
Comments
Leave a Comment

Please login to continue.