DS.EmbeddedRecordsMixin#_extractEmbeddedBelongsTo()

_extractEmbeddedBelongsToprivate Defined in addon/serializers/embedded-records-mixin.js:577

Handlebars Basics

Handlebars Basics Ember uses the Handlebars templating library to power your app's user interface. Handlebars templates contain static HTML and dynamic content inside Handlebars expressions, which are invoked with double curly braces: {{}}. Dynamic content inside a Handlebars expression is rendered with data-binding. This means if you update a property, your usage of that property in a template will be automatically updated to the latest value. Displaying Properties Templates are backed with

Binding#toString()

toStringStringpublic Defined in packages/ember-metal/lib/binding.js:121 Returns: String string representation of binding

Route#replaceWith()

replaceWith (name, models) Transitionpublic Defined in packages/ember-routing/lib/system/route.js:1093 Transition into another route while replacing the current URL, if possible. This will replace the current history entry instead of adding a new one. Beside that, it is identical to transitionTo in all other respects. See 'transitionTo' for additional information regarding multiple models. Example App.Router.map(function() { this.route('index'); this.route('secret'); }); App.SecretRout

Route#contextDidChange()

contextDidChangeprivate Defined in packages/ember-routing/lib/system/route.js:1395 Called when the context is changed by router.js.

Transition#followRedirects()

followRedirectsPromisepublic Defined in bower_components/router.js/lib/router/transition.js:272 Transitions are aborted and their promises rejected when redirects occur; this method returns a promise that will follow any redirects that occur and fulfill with the value fulfilled by any redirecting transitions that occur. Returns: Promise a promise that fulfills with the same value that the final redirecting transition fulfills with

Ember.removeObserver()

removeObserver (obj, path, target, method) public Defined in packages/ember-metal/lib/observer.js:47 Parameters: obj path String target Object|Function method [Function|String]

Comparable

Ember.Comparable Class PRIVATE Defined in: packages/ember-runtime/lib/mixins/comparable.js:8 Module: ember-runtime Implements some standard methods for comparing objects. Add this mixin to any class you create that can compare its instances. You should implement the compare() method.

Instrumentation#reset()

resetprivate Defined in packages/ember-metal/lib/instrumentation.js:238 Resets Ember.Instrumentation by flushing list of subscribers.

Computed Properties and Aggregate Data

Computed Properties and Aggregate Data Sometimes you have a computed property whose value depends on the properties of items in an array. For example, you may have an array of todo items, and want to calculate the incomplete todo's based on their isDone property. To facilitate this, Ember provides the @each key illustrated below: app/components/todo-list.js export default Ember.Component.extend({ todos: null, init() { this.set('todos', [ Ember.Object.create({ isDone: true }),