visualization-tools

Home > @visualization-tools/core > OnDprChanged

OnDprChanged class

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

Constructors

Constructor Modifiers Description
(constructor)(onDprChanged)   Constructs a new instance of the OnDprChanged class

Properties

Property Modifiers Type Description
callbackKey static “onDprChanged”  
onDprChanged   (dpr: number) => void  

Methods

Method Modifiers Description
emit(eventService, dpr) static  
registerListener(eventService, onEvent) static