@nextcloud/viewer
    Preparing search index...

    Function getViewer

    • Get the shared viewer instance, creating it on first use.

      Shared across every copy of the library on the page that speaks the same handler ABI, so the viewer stays the single modal it has to be.

      Returns Viewer