Merge the given object of key value pairs into this DataManager.
Any newly created values will emit a setdata
event. Any updated values (see the overwrite
argument)
will emit a changedata
event.
name | type | arguments | Default | description |
---|---|---|---|---|
data | Object.<string, *> |
The data to merge. |
||
overwrite | boolean | <optional> | true |
Whether to overwrite existing data. Defaults to true. |
This DataManager object.