Partager via


PointerInputProvider class

InputProvider implementation that hooks into a DOM element's pointer events.

Extends

Constructors

PointerInputProvider(HTMLElement)

Properties

element
isActive
pointerDown
pointerEnter
pointerLeave
pointerMove
pointerUp

Methods

activate()
deactivate()

Constructor Details

PointerInputProvider(HTMLElement)

new PointerInputProvider(element: HTMLElement)

Parameters

element

HTMLElement

Property Details

element

element: HTMLElement

Property Value

HTMLElement

isActive

boolean isActive

Property Value

boolean

pointerDown

IMulticastEvent<IPointerEvent> pointerDown

Property Value

pointerEnter

IMulticastEvent<IPointerEvent> pointerEnter

Property Value

pointerLeave

IMulticastEvent<IPointerEvent> pointerLeave

Property Value

pointerMove

IMulticastEvent<IPointerMoveEvent> pointerMove

Property Value

pointerUp

IMulticastEvent<IPointerEvent> pointerUp

Property Value

Method Details

activate()

function activate()

deactivate()

function deactivate()