Interface ISplitTextCallbacksMap

Maps event names to their callback payload types.

Extend this interface to map event names to payload types. Use undefined for events without a payload.

interface ISplitTextCallbacksMap {
    beforeSplit: undefined;
    destroy: undefined;
    props: Partial<ISplitTextMutableProps>;
    split: undefined;
}

Hierarchy (View Summary)

Properties

beforeSplit: undefined

Fired at the start of SplitText.split.

destroy: undefined

Triggered when the module is destroyed.

props: Partial<ISplitTextMutableProps>

Triggered when the module's properties are updated. Receives the diff (changed keys and new values) as the first argument.

split: undefined

Fired after SplitText.split completes.