setProperties (obj, properties) public
Set a list of properties on an object. These properties are set inside a single beginPropertyChanges
and endPropertyChanges
batch, so observers will be buffered.
let anObject = Ember.Object.create(); anObject.setProperties({ firstName: 'Stanley', lastName: 'Stuart', age: 21 });
Parameters:
- obj
-
properties
Object
Returns:
- properties
Please login to continue.