Home > @visualization-tools/core > OnDprChanged
Event emitted on screen DPI changing, or when the user zooms the page (browser page scaling).
Signature:
export declare class OnDprChanged implements TOnDprChanged
Implements: TOnDprChanged
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onDprChanged) | Constructs a new instance of the OnDprChanged class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onDprChanged” | |
| onDprChanged | (dpr: number) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(eventService, dpr) | static |
|
| registerListener(eventService, onEvent) | static |