HTMLBars

Ember.HTMLBars Class Module: ember-htmlbars

Test#unregisterWaiter()

unregisterWaiter (context, callback) public Defined in packages/ember-testing/lib/test/waiters.js:47 Available since 1.2.0 unregisterWaiter is used to unregister a callback that was registered with registerWaiter. Parameters: context Object (optional) callback Function

Specifying a Route's Model

Specifying a Route's Model Often, you'll want a template to display data from a model. Loading the appropriate model is one job of a route. For example, take this router: app/router.js Router.map(function() { this.route('favorite-posts'); }); To load a model for the favorite-posts route, you would use the model() hook in the favorite-posts route handler: app/routes/favorite-posts.js import Ember from 'ember'; export default Ember.Route.extend({ model() { return this.get('store').que

DS.Errors#_clear()

_clearprivate Defined in addon/-private/system/model/errors.js:379 Removes all error messages. to the record.

Component#didRender()

didRenderpublic Defined in packages/ember-htmlbars/lib/component.js:375 Available since 1.13.0 Called after a component has been rendered, both on initial render and in subsequent rerenders.

PromiseProxyMixin#promise

promisepublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:139 The promise whose fulfillment value is being proxied by this object. This property must be specified upon creation, and should not be changed once created. Example: Ember.ObjectProxy.extend(Ember.PromiseProxyMixin).create({ promise: <thenable> });

ember-application

ember-application Module Parent: ember 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 application once everything has loaded. Definition time can be expensive and only needs to happen once since it is an idempotent operation. For

Mixin#detect()

detect (obj) Booleanprivate Defined in packages/ember-metal/lib/mixin.js:586 Parameters: obj Returns: Boolean

Inflector#singularize()

singularize (word) Defined in node_modules/ember-inflector/addon/lib/system/inflector.js:222 Parameters: word String

PromiseProxyMixin#catch()

catch (callback) RSVP.Promisepublic Defined in packages/ember-runtime/lib/mixins/promise_proxy.js:177 Available since 1.3.0 An alias to the proxied promise's catch. See RSVP.Promise.catch. Parameters: callback Function Returns: RSVP.Promise