Skip to main content

ScreenEvents

Built in events supported by all entities

Index

Properties

fullscreen

Fires when the browser fullscreen api is successfully engaged or disengaged

pixelratio

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

resize

Fires when the screen resizes, useful if you have logic that needs to be aware of resolution/viewport constraints

Page Options