Type Alias EventTargetWithPointerEvents

EventTargetWithPointerEvents: {
    addEventListener: (
        type: string,
        listener: (event: any) => void,
        options?: { passive: boolean },
    ) => void;
    removeEventListener: (type: string, listener: (event: any) => void) => void;
}

Type declaration

  • addEventListener: (
        type: string,
        listener: (event: any) => void,
        options?: { passive: boolean },
    ) => void
  • removeEventListener: (type: string, listener: (event: any) => void) => void