Skip to main content

PixelRatioChangeEvent

Fires when the pixel ratio changes, useful to know if you've moved to a hidpi screen or back

Index

Properties

Properties

pixelRatio

pixelRatio: number

Current pixel ratio of the screen