can-symbol
Version:
Well known symbols used to detail how to operate on different objects
14 lines (9 loc) • 611 B
Markdown
-symbol/symbols/updateDeep can.updateDeep
can-symbol/symbols/shape
Defines how to change the state of the current object to match the state of another object.
`@ .updateDeep( source )`
The `can.updateDeep` symbol specifies how a deep update should happen. This means the copying of
all of source's values, and child values onto the current object and removal of values from the current
object that are not in source and its children..
{Object} An object with named properties
{Object} source The source of values that will be copied.
{function} can