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