setEach (key, value) Object
public
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
Please login to continue.