Home > yorkie-js-sdk > TextChange
TextChange
is the value passed as an argument to Text.onChanges()
. Text.onChanges()
is called when the Text
is modified.
Signature:
export declare type TextChange = {
type: TextChangeType;
actor: ActorID;
from: number;
to: number;
content?: string;
attributes?: Record<string, string>;
};
References: ActorID