interface TextEditorOptions {
    id?: string;
    onDone(committed: boolean): void;
}

Properties

Methods

Properties

id?: string

The drawing to edit. Default: the one selected drawing.

Methods

  • Runs once after the box is gone; committed is true when the text changed.

    Parameters

    • committed: boolean

    Returns void