Application#visit()

visit (url, options) Promisepublic Defined in packages/ember-application/lib/system/application.js:777 Boot a new instance of Ember.ApplicationInstance for the current application and navigate it to the given url. Returns a Promise that resolves with the instance when the initial routing and rendering is complete, or rejects with any error that occured during the boot process. When autoboot is disabled, calling visit would first cause the application to boot, which runs the application init

Application#rootElement

rootElementDOMElementpublic Defined in packages/ember-application/lib/system/application.js:204 The root DOM element of the Application. This can be specified as an element or a jQuery-compatible selector string. This is the element that will be passed to the Application's, eventDispatcher, which sets up the listeners for event delegation. Every view in your application should be a child of the element you specify here. Default: 'body'

Application#reset()

resetpublic Defined in packages/ember-application/lib/system/application.js:609 Reset the application. This is typically used only in tests. It cleans up the application in the following order: Deactivate existing routes Destroy all objects in the container Create a new application container Re-route to the existing url Typical Example: let App; run(function() { App = Ember.Application.create(); }); module('acceptance test', { setup: function() { App.reset(); } }); test('first

Application#ready event

readypublic Defined in packages/ember-application/lib/system/application.js:751 Called when the Application has become ready, immediately before routing begins. The call will be delayed until the DOM has become ready.

Application#eventDispatcher

eventDispatcherEmber.EventDispatcherpublic Defined in packages/ember-application/lib/system/application.js:220 The Ember.EventDispatcher responsible for delegating events to this application's views. The event dispatcher is created by the application at initialization time and sets up event listeners on the DOM element described by the application's rootElement property. See the documentation for Ember.EventDispatcher for more information. Default: null

Application#domReady()

domReadyprivate Defined in packages/ember-application/lib/system/application.js:446 This is the autoboot flow: Boot the app by calling this.boot() Create an instance (or use the __deprecatedInstance__ in globals mode) Boot the instance by calling instance.boot() Invoke the App.ready() callback Kick-off routing on the instance Ideally, this is all we would need to do: _autoBoot() { this.boot().then(() => { let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.bui

Application#didBecomeReady()

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

Application#deferReadiness()

deferReadinesspublic Defined in packages/ember-application/lib/system/application.js:491 Use this to defer readiness until some condition is true. Example: let App = Ember.Application.create(); App.deferReadiness(); // Ember.$ is a reference to the jQuery object/function Ember.$.getJSON('/auth-token', function(token) { App.token = token; App.advanceReadiness(); }); This allows you to perform asynchronous setup logic and defer booting your application until the setup has finished. How

Application#customEvents

customEventsObjectpublic Defined in packages/ember-application/lib/system/application.js:237 The DOM events for which the event dispatcher should listen. By default, the application's Ember.EventDispatcher listens for a set of standard DOM events, such as mousedown and keyup, and delegates them to your application's Ember.View instances. If you would like additional bubbling events to be delegated to your views, set your Ember.Application's customEvents property to a hash containing the DOM

Application#buildInstance()

buildInstanceEmber.ApplicationInstanceprivate Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/application.js:367 Create an ApplicationInstance for this application. Returns: Ember.ApplicationInstance the application instance