Interface ListenerOptions

Additional options for a listener.

interface ListenerOptions {
    once?: boolean;
    transactional?: boolean;
}

Hierarchy (view full)

Properties

once?: boolean

If true, the listener will be removed after the first time it is called.

Default Value

false;
transactional?: boolean

If true the listener will will be wrapped in the transaction. This means that an undo/redo will add/remove the listener.