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