Class: PointerEvents
Defined in: packages/utilities/src/events/PointerEvents.ts:9
Beta
This base should be extended for listen to various pointer events.
Constructors
Constructor
new PointerEvents():
PointerEvents
Beta
Returns
PointerEvents
Accessors
isEnabled
Get Signature
get isEnabled():
boolean
Defined in: packages/utilities/src/events/PointerEvents.ts:31
Beta
Returns
boolean
Methods
onClick()
onClick(
_event
):Promise
<void
>
Defined in: packages/utilities/src/events/PointerEvents.ts:12
Beta
Parameters
_event
PointerEvent
Returns
Promise
<void
>
onDoubleClick()
onDoubleClick(
_event
):Promise
<void
>
Defined in: packages/utilities/src/events/PointerEvents.ts:16
Beta
Parameters
_event
PointerEvent
Returns
Promise
<void
>
onHover()
onHover(
_event
):void
Defined in: packages/utilities/src/events/PointerEvents.ts:10
Beta
Parameters
_event
PointerEvent
Returns
void
onPointerDown()
onPointerDown(
_event
,_leftButton
):Promise
<void
>
Defined in: packages/utilities/src/events/PointerEvents.ts:20
Beta
Parameters
_event
PointerEvent
_leftButton
boolean
Returns
Promise
<void
>
onPointerDrag()
onPointerDrag(
_event
,_leftButton
):Promise
<void
>
Defined in: packages/utilities/src/events/PointerEvents.ts:27
Beta
Parameters
_event
PointerEvent
_leftButton
boolean
Returns
Promise
<void
>
onPointerUp()
onPointerUp(
_event
,_leftButton
):Promise
<void
>
Defined in: packages/utilities/src/events/PointerEvents.ts:23
Beta
Parameters
_event
PointerEvent
_leftButton
boolean
Returns
Promise
<void
>