Home > @visualization-tools/core > OnCanvasResized
Provides events for chart resizing, emitted on IChartComponent.resize() call.
Signature:
export declare class OnCanvasResized implements TOnCanvasResized
Implements: TOnCanvasResized
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onCanvasResized) | Constructs a new instance of the OnCanvasResized class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onCanvasResized” | |
| onCanvasResized | (canvasDims: ICanvasDimensions) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(eventService, canvasDims) | static |
|
| registerListener(eventService, onEvent) | static |