Tells whether the viewer is in full screen mode.
true while an element of the viewer's page is shown full screen.
true
instance.UI.addEventListener(instance.UI.Events.FULLSCREEN_MODE_TOGGLED, () => { console.log('full screen:', instance.UI.isFullscreen());}); Copy
instance.UI.addEventListener(instance.UI.Events.FULLSCREEN_MODE_TOGGLED, () => { console.log('full screen:', instance.UI.isFullscreen());});
Tells whether the viewer is in full screen mode.