ApplicationInstance.BootOptions

Ember.ApplicationInstance.BootOptions Class PUBLIC Defined in: packages/ember-application/lib/system/application-instance.js:292 Module: ember-application A list of boot-time configuration options for customizing the behavior of an Ember.ApplicationInstance. This is an interface class that exists purely to document the available options; you do not need to construct it manually. Simply pass a regular JavaScript object containing the desired options into methods that require one of these op

ApplicationInstance#setupRegistry()

setupRegistry (registry, options) private Inherited from Ember.EngineInstance but overwritten in packages/ember-application/lib/system/application-instance.js:278 Parameters: registry Registry options BootOptions

ApplicationInstance#rootElement

rootElementString|DOMElementprivate Defined in packages/ember-application/lib/system/application-instance.js:67 The root DOM element of the Application as an element or a jQuery-compatible selector string.

ApplicationInstance#customEvents

customEventsObjectprivate Defined in packages/ember-application/lib/system/application-instance.js:54 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.

ApplicationInstance#application

applicationEmber.Applicationprivate Defined in packages/ember-application/lib/system/application-instance.js:46 The Application for which this is an instance.

ApplicationInstance

Ember.ApplicationInstance Class PUBLIC Extends: Ember.EngineInstance Defined in: packages/ember-application/lib/system/application-instance.js:20 Module: ember-application The ApplicationInstance encapsulates all of the stateful aspects of a running Application. At a high-level, we break application boot into two distinct phases: Definition time, where all of the classes, templates, and other dependencies are loaded (typically in the browser). Run time, where we begin executing the applica

Application.buildRegistry()

buildRegistry (namespace) Ember.Registryprivatestatic Inherited from Ember.Engine but overwritten in packages/ember-application/lib/system/application.js:992 This creates a registry with the default Ember naming conventions. It also configures the registry: registered views are created every time they are looked up (they are not singletons) registered templates are not factories; the registered value is returned directly. the router receives the application as its namespace property all con

Application#_prepareForGlobalsMode()

_prepareForGlobalsModeprivate Defined in packages/ember-application/lib/system/application.js:380 Enable the legacy globals mode by allowing this application to act as a global namespace. See the docs on the _globalsMode property for details. Most of these features are already deprecated in 1.x, so we can stop using them internally and try to remove them.

Application#_globalsMode

_globalsModeBooleanprivate Defined in packages/ember-application/lib/system/application.js:295 Whether the application should be configured for the legacy "globals mode". Under this mode, the Application object serves as a global namespace for all classes. let App = Ember.Application.create({ ... }); App.Router.reopen({ location: 'none' }); App.Router.map({ ... }); App.MyComponent = Ember.Component.extend({ ... }); This flag also exposes other internal APIs that assumes the exis

Application#waitForDOMReady()

waitForDOMReadyprivate Defined in packages/ember-application/lib/system/application.js:424 Automatically kick-off the boot process for the application once the DOM has become ready. The initialization itself is scheduled on the actions queue which ensures that code-loading finishes before booting. If you are asynchronously loading code, you should call deferReadiness() to defer booting, and then call advanceReadiness() once all of your code has finished loading.