Home > @visualization-tools/core > OnCanvasPointerEvent
Provides raw pointer events. Shouldn’t typically be used unless implementing custom interaction handler.
Signature:
export declare class OnCanvasPointerEvent implements TOnCanvasPointerEvent
Implements: TOnCanvasPointerEvent
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onPointerEvent) | Constructs a new instance of the OnCanvasPointerEvent class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onPointerEvent” | |
| onPointerEvent | (eventType: EPointerEventType, $event: PointerEvent) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(eventService, eventType, $event) | static |
|
| registerListener(eventService, onEvent) | static |