EngineInstance

Ember.EngineInstance Class PUBLIC Extends: Ember.Object Uses: RegistryProxyMixin Uses: ContainerProxyMixin Defined in: packages/ember-application/lib/system/engine-instance.js:18 Module: ember-application The EngineInstance encapsulates all of the stateful aspects of a running Engine.

Helper#recompute()

recomputepublic Defined in packages/ember-htmlbars/lib/helper.js:66 Available since 1.13.0 On a class-based helper, it may be useful to force a recomputation of that helpers value. This is akin to rerender on a component. For example, this component will rerender when the currentUser on a session service changes: // app/helpers/current-user-email.js export default Ember.Helper.extend({ session: Ember.inject.service(), onNewUser: Ember.observer('session.currentUser', function() { thi

DS.Model#becameInvalid event

becameInvalid Defined in addon/-private/system/model/model.js:458 Fired when the record becomes invalid.

ControllerMixin#_qpDelegate

_qpDelegateprivate Defined in packages/ember-routing/lib/ext/controller.js:25

EngineInstance#unregister()

unregister (fullName) public Inherited from RegistryProxyMixin but overwritten in packages/ember-application/lib/system/engine-instance.js:118 Unregister a factory. Overrides RegistryProxy#unregister in order to clear any cached instances of the unregistered factory. Parameters: fullName String

Component#didUpdateAttrs event

didUpdateAttrspublic Defined in packages/ember-htmlbars/lib/component.js:423 Available since 1.13.0 Called when the attributes passed into the component have been changed. Called only during a rerender, not during an initial render.

DS.JSONSerializer#extractId()

extractId (modelClass, resourceHash) String Defined in addon/serializers/json.js:550 Returns the resource's ID. Parameters: modelClass Object resourceHash Object Returns: String

RegistryProxyMixin#resolveRegistration()

resolveRegistration (fullName) Functionpublic Defined in packages/ember-runtime/lib/mixins/registry_proxy.js:19 Given a fullName return the corresponding factory. Parameters: fullName String Returns: Function fullName's factory

DS.ForbiddenError

DS.ForbiddenError Class Defined in: addon/adapters/errors.js:140 Module: ember-data

Asynchronous Routing

Asynchronous Routing This section covers some more advanced features of the router and its capability for handling complex async logic within your app. A Word on Promises... Ember's approach to handling asynchronous logic in the router makes heavy use of the concept of Promises. In short, promises are objects that represent an eventual value. A promise can either fulfill (successfully resolve the value) or reject (fail to resolve the value). The way to retrieve this eventual value, or handle