Templates.helpers.unless()

unlesspublic Defined in packages/ember-htmlbars/lib/helpers/if_unless.js:81 The unless helper is the inverse of the if helper. Its block will be rendered if the expression contains a falsey value. All forms of the if helper can also be used with unless.

Input Helpers

Input Helpers The {{input}} and {{textarea}} helpers in Ember.js are the easiest way to create common form controls. The {{input}} helper wraps the built-in Ember.TextField and Ember.Checkbox views, while {{textarea}} wraps Ember.TextArea. Using these helpers, you can create these views with declarations almost identical to how you'd create a traditional <input> or <textarea> element. Text fields {{input value="http://www.facebook.com"}} Will become: <input type="text" value="

RSVP.allSettled()

allSettled (entries, label) Promisestatic Defined in bower_components/rsvp/lib/rsvp/all-settled.js:19 RSVP.allSettled is similar to RSVP.all, but instead of implementing a fail-fast method, it waits until all the promises have returned and shows you all the results. This is useful if you want to handle multiple promises' failure states together as a set. Returns a promise that is fulfilled when all the given promises have been settled. The return promise is fulfilled with an array of the st

DS.ManyArray#createRecord()

createRecord (hash) DS.Modelprivate Defined in addon/-private/system/many-array.js:273 Create a child record within the owner Parameters: hash Object Returns: DS.Model record

EngineInstance#cloneParentDependencies()

cloneParentDependenciesprivate Defined in packages/ember-application/lib/system/engine-instance.js:194 Clone dependencies shared between an engine instance and its parent.

MutableArray#reverseObjects()

reverseObjectsEmber.Arraypublic Defined in packages/ember-runtime/lib/mixins/mutable_array.js:301 Reverse objects in the array. Works just like reverse() but it is KVO-compliant. Returns: Ember.Array receiver

DS.RESTSerializer#modelNameFromPayloadType()

modelNameFromPayloadType (payloadType) Stringpublic Inherited from DS.JSONSerializer but overwritten in addon/serializers/rest.js:861 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, which has a polymorphic user relationship: // GET /api/posts/1 { "post": { "id": 1, "user": 1, "userType: "api::v1::administrator"

Ember.isArray()

isArray (obj) Booleanpublic Defined in packages/ember-runtime/lib/utils.js:20 Returns true if the passed object is an array or Array-like. Objects are considered Array-like if any of the following are true: the object is a native Array the object has an objectAt property the object is an Object, and has a length property Unlike Ember.typeOf this method returns true even if the passed object is not formally an array but appears to be array-like (i.e. implements Ember.Array) Ember.isArray();

DS.SnapshotRecordArray#type

type{DS.Model} Defined in addon/-private/system/snapshot-record-array.js:34 The type of the underlying records for the snapshots in the array, as a DS.Model

Ember.run.bind()

bind (target, method, args*) Functionpublic Defined in packages/ember-metal/lib/run_loop.js:124 Available since 1.4.0 Allows you to specify which context to call the specified function in while adding the execution of that function to the Ember run loop. This ability makes this method a great way to asynchronously integrate third-party libraries into your Ember application. run.bind takes two main arguments, the desired context and the function to invoke in that context. Any additional argu