Methods
(static) setAttr(target, source, attributes)
Copy the attributes specified in an attributes array of a source object to a target object.
Parameters:
Name | Type | Description |
---|---|---|
target |
Object | Target object to be copied to. |
source |
Object | Source object to be copied from. |
attributes |
Array.<Object> | The attributes to be copied. |