ComPDFKit Web SDK
    Preparing search index...

    Function toggleFullScreen

    • Enters or leaves full screen mode for the viewer. The fullscreenModeToggled event is triggered once the browser has switched. If the browser refuses (for example, when the call does not come from a user gesture), nothing changes.

      Returns void

      button.addEventListener('click', () => instance.UI.toggleFullScreen());