Route#redirect()

redirect (model, transition) public Defined in packages/ember-routing/lib/system/route.js:1368 A hook you can implement to optionally redirect to another route. If you call this.transitionTo from inside of this hook, this route will not be entered in favor of the other hook. redirect and afterModel behave very similarly and are called almost at the same time, but they have an important distinction in the case that, from one of these hooks, a redirect into a child route of this route occurs:

DS.EmbeddedRecordsMixin#serializeBelongsTo()

serializeBelongsTo (snapshot, json, relationship) Defined in addon/serializers/embedded-records-mixin.js:141 Serialize belongsTo relationship when it is configured as an embedded object. This example of an author model belongs to a post model: Post = DS.Model.extend({ title: DS.attr('string'), body: DS.attr('string'), author: DS.belongsTo('author') }); Author = DS.Model.extend({ name: DS.attr('string'), post: DS.belongsTo('post') }); Use a custom (type) seriali

VisibilitySupport#_isVisibleDidChange()

_isVisibleDidChangeprivate Defined in packages/ember-views/lib/mixins/visibility_support.js:33 When the view's isVisible property changes, toggle the visibility element of the actual DOM element.

DataAdapter#getRecordColumnValues()

getRecordColumnValuesObjectprivate Defined in packages/ember-extension-support/lib/data_adapter.js:435 Gets the values for each column. Returns: Object Keys should match column names defined by the model type.

DS.RecordArray#removeInternalModel()

removeInternalModel (internalModel) private Defined in addon/-private/system/record-arrays/record-array.js:159 Removes an internalModel to the RecordArray. Parameters: internalModel InternalModel

Function#property()

propertypublic Defined in packages/ember-runtime/lib/ext/function.js:15 The property extension of Javascript's Function prototype is available when EmberENV.EXTEND_PROTOTYPES or EmberENV.EXTEND_PROTOTYPES.Function is true, which is the default. Computed properties allow you to treat a function like a property: MyApp.President = Ember.Object.extend({ firstName: '', lastName: '', fullName: function() { return this.get('firstName') + ' ' + this.get('lastName'); }.property() // Ca

Bindings

Bindings Unlike most other frameworks that include some sort of binding implementation, bindings in Ember.js can be used with any object. That said, bindings are most often used within the Ember framework itself, and for most problems Ember app developers face, computed properties are the appropriate solution. The easiest way to create a two-way binding is to use a computed.alias(), that specifies the path to another object. husband = Ember.Object.create({ pets: 0 }); Wife = Ember.Object.e

DS.Model.transformedAttributes

transformedAttributes{Ember.Map}static Defined in addon/-private/system/model/attr.js:71 A map whose keys are the attributes of the model (properties described by DS.attr) and whose values are type of transformation applied to each attribute. This map does not include any attributes that do not have an transformation type. Example app/models/person.js import DS from 'ember-data'; export default DS.Model.extend({ firstName: attr(), lastName: attr('string'), birthday: attr('date') });

HTMLBars.helpers.singularize()

singularize (word) Defined in node_modules/ember-inflector/addon/lib/helpers/singularize.js:4 If you have Ember Inflector (such as if Ember Data is present), singularize a word. For example, turn "oxen" into "ox". Example: {{singularize myProperty}} {{singularize "oxen"}} Parameters: word String|Property word to singularize

Component#willRender()

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