ViewTargetActionSupport#elementId

elementIdStringpublic Defined in packages/ember-views/lib/mixins/view_support.js:250 The HTML id of the view's element in the DOM. You can provide this value yourself but it must be unique (just as in HTML): {{my-component elementId="a-really-cool-id"}} If not manually set a default value will be provided by the framework. Once rendered an element's elementId is considered immutable and you should never change it. If you need to compute a dynamic value for the elementId, you should do th

Observable#propertyDidChange()

propertyDidChange (keyName) Ember.Observableprivate Defined in packages/ember-runtime/lib/mixins/observable.js:294 Notify the observer system that a property has just changed. Sometimes you need to change a value directly or indirectly without actually calling get() or set() on it. In this case, you can use this method and propertyWillChange() instead. Calling these two methods together will notify all observers that the property has potentially changed value. Note that you must always call

DS.JSONSerializer#normalizeQueryRecordResponse()

normalizeQueryRecordResponse (store, primaryModelClass, payload, id, requestType) Object Defined in addon/serializers/json.js:276 Available since 1.13.0 Parameters: store DS.Store primaryModelClass DS.Model payload Object id String|Number requestType String Returns: Object JSON-API Document

Array#arrayContentDidChange()

arrayContentDidChange (startIdx, removeAmt, addAmt) Ember.Arraypublic Defined in packages/ember-runtime/lib/mixins/array.js:536 If you are implementing an object that supports Ember.Array, call this method just after the array content changes to notify any observers and invalidate any related properties. Pass the starting index of the change as well as a delta of the amounts to change. Parameters: startIdx Number The starting index in the array that did change. removeAmt Number The

DS.RESTAdapter#deleteRecord()

deleteRecord (store, type, snapshot) Promise Inherited from DS.Adapter but overwritten in addon/adapters/rest.js:772 Called by the store when a record is deleted. The deleteRecord method makes an Ajax (HTTP DELETE) request to a URL computed by buildURL. Parameters: store DS.Store type DS.Model snapshot DS.Snapshot Returns: Promise promise

DS.Store#recordIsLoaded()

recordIsLoaded (modelName, id) Boolean Defined in addon/-private/system/store.js:1637 This method returns if a certain record is already loaded in the store. Use this function to know beforehand if a findRecord() will result in a request or that it will be a cache hit. Example store.recordIsLoaded('post', 1); // false store.findRecord('post', 1).then(function() { store.recordIsLoaded('post', 1); // true }); Parameters: modelName String id String Returns: Boolean

ApplicationInstance.BootOptions

Ember.ApplicationInstance.BootOptions Class PUBLIC Defined in: packages/ember-application/lib/system/application-instance.js:292 Module: ember-application A list of boot-time configuration options for customizing the behavior of an Ember.ApplicationInstance. This is an interface class that exists purely to document the available options; you do not need to construct it manually. Simply pass a regular JavaScript object containing the desired options into methods that require one of these op

TextSupport#cancel()

cancel (event) private Defined in packages/ember-views/lib/mixins/text_support.js:225 Allows you to specify a controller action to invoke when the escape button is pressed. To use this method, give your field an escape-press attribute. The value of that attribute should be the name of the action in your controller that you wish to invoke. For an example on how to use the escape-press attribute, please reference the example near the top of this file. Parameters: event Event

Observable#set()

set (keyName, value) Objectpublic Defined in packages/ember-runtime/lib/mixins/observable.js:168 Sets the provided key or path to the value. This method is generally very similar to calling object[key] = value or object.key = value, except that it provides support for computed properties, the setUnknownProperty() method and property observers. Computed Properties If you try to set a value on a key that has a computed property handler defined (see the get() method for an example), then set()

DS.Adapter#findMany()

findMany (store, type, ids, snapshots) Promise Defined in addon/adapter.js:423 The store will call findMany instead of multiple findRecord requests to find multiple records at once if coalesceFindRequests is true. app/adapters/application.js import DS from 'ember-data'; export default DS.Adapter.extend({ findMany(store, type, ids, snapshots) { return new Ember.RSVP.Promise(function(resolve, reject) { Ember.$.ajax({ type: 'GET', url: `/${type.modelName}/`,