HistoryLocation#getState()

getStateObjectprivate Defined in packages/ember-routing/lib/location/history_location.js:122 Get the current history.state. Checks for if a polyfill is required and if so fetches this._historyState. The state returned from getState may be null if an iframe has changed a window's history. Returns: Object state

DS.Adapter#findAll()

findAll (store, type, sinceToken, snapshotRecordArray) Promise Defined in addon/adapter.js:123 The findAll() method is used to retrieve all records for a given type. Example app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ findAll: function(store, type, sinceToken) { var query = { since: sinceToken }; return new Ember.RSVP.Promise(function(resolve, reject) { Ember.$.getJSON(`/${type.modelName}`, query).then(function(data) {

Ember.run.queues

queuesArrayprivate Defined in packages/ember-metal/lib/run_loop.js:218 Array of named queues. This array determines the order in which queues are flushed at the end of the RunLoop. You can define your own queues by simply adding the queue name to this array. Normally you should not need to inspect or modify this property. Default: ['sync', 'actions', 'destroy']

Route#routeName

routeNameStringpublic Defined in packages/ember-routing/lib/system/route.js:131 The name of the route, dot-delimited. For example, a route found at app/routes/posts/post.js or app/posts/post/route.js (with pods) will have a routeName of posts.post.

DS.Store#recordWasError()

recordWasError (internalModel, error) private Defined in addon/-private/system/store.js:1785 This method is called once the promise returned by an adapter's createRecord, updateRecord or deleteRecord is rejected (with anything other than a DS.InvalidError). Parameters: internalModel InternalModel error Error

DataAdapter#getFilters()

getFiltersArraypublic Defined in packages/ember-extension-support/lib/data_adapter.js:115 Specifies how records can be filtered. Records returned will need to have a filterValues property with a key for every name in the returned array. Returns: Array List of objects defining filters. The object should have a `name` and `desc` property.

ClassNamesSupport#classNameBindings

classNameBindingsArraypublic Defined in packages/ember-views/lib/mixins/class_names_support.js:41 A list of properties of the view to apply as class names. If the property is a string value, the value of that string will be applied as a class name. // Applies the 'high' class to the view element Ember.View.extend({ classNameBindings: ['priority'], priority: 'high' }); If the value of the property is a Boolean, the name of that property is added as a dasherized class name. // Applies th

DS.Adapter#generateIdForRecord()

generateIdForRecord (store, type, inputProperties) (String|Number) Defined in addon/adapter.js:221 If the globally unique IDs for your records should be generated on the client, implement the generateIdForRecord() method. This method will be invoked each time you create a new record, and the value returned from it will be assigned to the record's primaryKey. Most traditional REST-like HTTP APIs will not use this method. Instead, the ID of the record will be set by the server, and your adapt

ComputedProperty#readOnly()

readOnlyEmber.ComputedPropertypublic Defined in packages/ember-metal/lib/computed.js:193 Call on a computed property to set it into read-only mode. When in this mode the computed property will throw an error when set. let Person = Ember.Object.extend({ guid: Ember.computed(function() { return 'guid-guid-guid'; }).readOnly() }); let person = Person.create(); person.set('guid', 'new-guid'); // will throw an exception Returns: Ember.ComputedProperty this

DS.Model#unloadRecord()

unloadRecordprivate Defined in addon/-private/system/model/model.js:582