Enumerable#setEach()

setEach (key, value) Objectpublic

Defined in packages/ember-runtime/lib/mixins/enumerable.js:310

Sets the value on the named property for each member. This is more ergonomic than using other methods defined on this helper. If the object implements Ember.Observable, the value will be changed to set(), otherwise it will be set directly. null objects are skipped.

Parameters:

key String
The key to set
value Object
The object to set

Returns:

Object
receiver
doc_EmberJs
2016-11-30 16:52:01
Comments
Leave a Comment

Please login to continue.