types.YArrayEvent(yarray, remote, transaction)

Event that describes the changes on a YArray

new YArrayEvent(yarray, remote, transaction)

Parameters:
Name Type Description
yarray YArray

The changed type

remote Boolean

Whether the changed was caused by a remote peer

transaction Transaction

The transaction object

Members

addedElements

Child elements that were added in this transaction.

removedElements

Child elements that were removed in this transaction.