createdInstance
Makes minimal updates to an instance's properties and its nested properties using can-diff/merge-deep/merge-deep.
connection.createdInstance(instance, props)
Calls can-diff/merge-deep/merge-deep and triggers the 'created'
event on the instance and it's type
within a [can-event/batch/batch batch].
Parameters
- instance
{Instance}
:the instance that was just created whose properties will be updated.
- props
{Object}
:the new data the instance and children of the instance should be updated to look like.