TextField#min

minStringpublic Defined in packages/ember-htmlbars/lib/components/text_field.js:144 Available since 1.4.0 The min attribute of input element used with type="number" or type="range". Default: null

Ember.makeArray()

makeArray (obj) Arrayprivate Defined in packages/ember-metal/lib/utils.js:370 Forces the passed object to be part of an array. If the object is already an array, it will return the object. Otherwise, it will add the object to an array. If obj is null or undefined, it will return an empty array. Ember.makeArray(); // [] Ember.makeArray(null); // [] Ember.makeArray(undefined); // [] Ember.makeArray('lindsay'); // ['lindsay'] Ember.makeArray([1, 2, 42]); // [1, 2, 42] l

DS.RecordArray#update()

update Defined in addon/-private/system/record-arrays/record-array.js:105 Used to get the latest version of all of the records in this array from the adapter. Example var people = store.peekAll('person'); people.get('isUpdating'); // false people.update().then(function() { people.get('isUpdating'); // false }); people.get('isUpdating'); // true

DS.JSONAPISerializer#modelNameFromPayloadType()

modelNameFromPayloadType (payloadType) Stringpublic Inherited from DS.JSONSerializer but overwritten in addon/serializers/json-api.js:630 modelNameFromPayloadType can be used to change the mapping for a DS model name, taken from the value in the payload. Say your API namespaces the type of a model and returns the following payload for the post model: // GET /api/posts/1 { "data": { "id": 1, "type: "api::v1::post" } } By overwriting modelNameFromPayloadType you can specify that

DS.JSONSerializer#normalizeFindRecordResponse()

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

DS.JSONAPIAdapter#findMany()

findMany (store, type, ids, snapshots) Promise Inherited from DS.RESTAdapter but overwritten in addon/adapters/json-api.js:112 Parameters: store DS.Store type DS.Model ids Array snapshots Array Returns: Promise promise

RSVP.hash()

hash (object, label) Promisestatic Defined in bower_components/rsvp/lib/rsvp/hash.js:4 RSVP.hash is similar to RSVP.all, but takes an object instead of an array for its promises argument. Returns a promise that is fulfilled when all the given promises have been fulfilled, or rejected if any of them become rejected. The returned promise is fulfilled with a hash that has the same key names as the promises object argument. If any of the values in the object are not promises, they will simply b

Test#testing

testing{Boolean}public Defined in packages/ember-testing/lib/ext/application.js:45 Available since 1.3.0 This property indicates whether or not this application is currently in testing mode. This is set when setupForTesting is called on the current application. Default: false

Ember.typeOf()

typeOf (item) Stringpublic Defined in packages/ember-runtime/lib/utils.js:55 Returns a consistent type for the passed object. Use this instead of the built-in typeof to get the type of an item. It will return the same result across all browsers and includes a bit more detail. Here is what will be returned: | Return Value | Meaning | |---------------|------------------------------------------------------| | 'string' | String primitive or Str

DS.JSONSerializer#extractRelationships()

extractRelationships (modelClass, resourceHash) Object Defined in addon/serializers/json.js:660 Returns the resource's relationships formatted as a JSON-API "relationships object". http://jsonapi.org/format/#document-resource-object-relationships Parameters: modelClass Object resourceHash Object Returns: Object