ComPDFKit Web SDK
    Preparing search index...

    Function isFullscreen

    • Tells whether the viewer is in full screen mode.

      Returns boolean

      true while an element of the viewer's page is shown full screen.

      instance.UI.addEventListener(instance.UI.Events.FULLSCREEN_MODE_TOGGLED, () => {
      console.log('full screen:', instance.UI.isFullscreen());
      });