Home > @visualization-tools/core > OnRendererContextLost
Emitted when the renderer context is lost due to e.g. resource contention. Emitted on both chart and plots.
Signature:
export declare class OnRendererContextLost implements TRendererOnContextLost
Implements: TRendererOnContextLost
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onRendererContextLost) | Constructs a new instance of the OnRendererContextLost class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onRendererContextLost” | |
| onRendererContextLost | () => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(eventService) | static |
|
| registerListener(chartEventService, onEvent) | static |