Ember.set()

set (obj, keyName, value) Objectpublic

Defined in packages/ember-metal/lib/property_set.js:22

Sets the value of a property on an object, respecting computed properties and notifying observers and other listeners of the change. If the property is not defined but the object implements the setUnknownProperty method then that will be invoked as well.

Parameters:

obj Object
The object to modify.
keyName String
The property key to set
value Object
The value to set

Returns:

Object
the passed value.
doc_EmberJs
2016-11-30 16:51:43
Comments
Leave a Comment

Please login to continue.