Type alias HandlerPayload<T>

HandlerPayload<T>: {
    message: T;
    preventDefault: boolean;
    stopPropagation: boolean;
}

A payload of Handler, the decoded event message of event handlers.

Type Parameters

  • T

Type declaration

  • message: T

    The passing custom value.

  • preventDefault: boolean

    Whether the renderer should prevent default behavior of this event.

  • stopPropagation: boolean

    Whether the renderer should stop propagation of this event.

Generated using TypeDoc