Class: PointerEventsTarget
Defined in: packages/utilities/src/events/PointerEventsTarget.ts:23
Beta
This class fires click, double click, hover end similar events at a PointerEvents onClick will fired if it's a single click, and the mouse hasn't move too much If onDoubleClick is fired, the onClick will not be fired onHover will be fired only if the mouse button is not pressed and not to often If mouse, the onDoubleClick and onClick is fired when the left mouse button is pressed onPointerDrag will be fired wnen the mouse button is pressed and the mouse is moving
Constructors
Constructor
new PointerEventsTarget(
domElement
,events
):PointerEventsTarget
Defined in: packages/utilities/src/events/PointerEventsTarget.ts:49
Beta
Parameters
domElement
HTMLElement
events
Returns
PointerEventsTarget
Methods
addEventListeners()
addEventListeners():
void
Defined in: packages/utilities/src/events/PointerEventsTarget.ts:58
Beta
Returns
void
removeEventListeners()
removeEventListeners():
void
Defined in: packages/utilities/src/events/PointerEventsTarget.ts:65
Beta
Returns
void