dacha
    Preparing search index...

    Interface Event<T>

    Event interface.

    interface Event<T = EventTarget> {
        currentTarget: EventTarget;
        stopPropagation: () => void;
        target: T;
        type: EventType;
    }

    Type Parameters

    Index
    currentTarget: EventTarget

    Current event target

    stopPropagation: () => void

    Function to stop the event propagation

    target: T

    Target of the event

    type: EventType

    Type of the event