YText.YTextEvent(ytext, transaction, subs)

Event that describes the changes on a YText type.

new YTextEvent(ytext, transaction, subs)

Parameters:
Name Type Description
ytext YText
transaction Transaction
subs Set.<any>

The keys that changed

Members

_delta :Array.<DeltaItem>|null

_delta :Array.<DeltaItem>

delta :Array.<DeltaItem>

Compute the changes in the delta format. A Quill Delta) that represents the changes on the document.

keysChanged :Set.<string>

Set of all changed attributes.