visualization-tools

Home > @visualization-tools/core > OnCanvasPointerEvent

OnCanvasPointerEvent class

Provides raw pointer events. Shouldn’t typically be used unless implementing custom interaction handler.

Signature:

export declare class OnCanvasPointerEvent implements TOnCanvasPointerEvent 

Implements: TOnCanvasPointerEvent

Constructors

Constructor Modifiers Description
(constructor)(onPointerEvent)   Constructs a new instance of the OnCanvasPointerEvent class

Properties

Property Modifiers Type Description
callbackKey static “onPointerEvent”  
onPointerEvent   (eventType: EPointerEventType, $event: PointerEvent) => void  

Methods

Method Modifiers Description
emit(eventService, eventType, $event) static  
registerListener(eventService, onEvent) static