Interface DOMPointerDriverBind

A container which has all the event listeners for a Root DOM bind to a DOMPointerDriver; a link between a DOM element and an existing Root.

interface DOMPointerDriverBind {
    contextMenuListen: null | ((this: HTMLElement, event: MouseEvent) => void);
    domElem: HTMLElement;
    pointerleaveListen: null | ((this: HTMLElement, event: PointerEvent) => void);
    pointerListen: null | ((this: HTMLElement, event: PointerEvent) => void);
    wheelListen: null | ((this: HTMLElement, event: WheelEvent) => void);
}

Properties

contextMenuListen: null | ((this: HTMLElement, event: MouseEvent) => void)

"contextmenu" event listener. For cleanup only

domElem: HTMLElement

The DOM element where the event listeners are added

pointerleaveListen: null | ((this: HTMLElement, event: PointerEvent) => void)

"pointerleave" event listener. For cleanup only

pointerListen: null | ((this: HTMLElement, event: PointerEvent) => void)

/pointer(move|down|up)/ event listener. For cleanup only

wheelListen: null | ((this: HTMLElement, event: WheelEvent) => void)

"wheel" event listener. For cleanup only