DS.Model#dirtyType

dirtyType{String} Defined in addon/-private/system/model/model.js:222 If the record is in the dirty state this property will report what kind of change has caused it to move into the dirty state. Possible values are: created The record has been created by the client and not yet saved to the adapter. updated The record has been updated by the client and not yet saved to the adapter. deleted The record has been deleted by the client and not yet saved to the adapter. Example var record = st

Ember.computed.reads()

reads (dependentKey) Ember.ComputedPropertypublic Defined in packages/ember-runtime/lib/computed/computed_macros.js:568 This is a more semantically meaningful alias of computed.oneWay, whose name is somewhat ambiguous as to which direction the data flows. Parameters: dependentKey String Returns: Ember.ComputedProperty computed property which creates a one way computed property to the original value for property.

Observable#removeObserver()

removeObserver (key, target, method) public Defined in packages/ember-runtime/lib/mixins/observable.js:385 Remove an observer you have previously registered on this object. Pass the same key, target, and method you passed to addObserver() and your target will no longer receive notifications. Parameters: key String The key to observer target Object The target object to invoke method String|Function The method to invoke.

RSVP.rethrow()

rethrow (reason) static Defined in bower_components/rsvp/lib/rsvp/rethrow.js:1 RSVP.rethrow will rethrow an error on the next turn of the JavaScript event loop in order to aid debugging. Promises A+ specifies that any exceptions that occur with a promise must be caught by the promises implementation and bubbled to the last handler. For this reason, it is recommended that you always specify a second rejection handler function to then. However, RSVP.rethrow will throw the exception outside of

DS.Snapshot#modelName

modelName{String} Defined in addon/-private/system/snapshot.js:86 The name of the type of the underlying record for this snapshot, as a string.

DS.Model#reload()

reloadPromise Defined in addon/-private/system/model/model.js:750 Reload the record from the adapter. This will only work if the record has already finished loading. Example app/routes/model/view.js import Ember from 'ember'; export default Ember.Route.extend({ actions: { reload: function() { this.controller.get('model').reload().then(function(model) { // do something with the reloaded model }); } } }); Returns: Promise a promise that will be resolved

Ember.addObserver()

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

DS.Model#trigger()

trigger (name) private Defined in addon/-private/system/model/model.js:783 Override the default event firing from Ember.Evented to also call methods with the given name. Parameters: name String

Templates.helpers.component()

componentpublic Defined in packages/ember-htmlbars/lib/keywords/component.js:11 Available since 1.11.0 The {{component}} helper lets you add instances of Ember.Component to a template. See Ember.Component for additional information on how a Component functions. {{component}}'s primary use is for cases where you want to dynamically change which type of component is rendered as the state of your application changes. The provided block will be applied as the template for the component. Given a

DS.EmbeddedRecordsMixin#removeEmbeddedForeignKey()

removeEmbeddedForeignKey (snapshot, embeddedSnapshot, relationship, json) Defined in addon/serializers/embedded-records-mixin.js:453 When serializing an embedded record, modify the property (in the json payload) that refers to the parent record (foreign key for relationship). Serializing a belongsTo relationship removes the property that refers to the parent record Serializing a hasMany relationship does not remove the property that refers to the parent record. Parameters: snapshot DS.S