@nextcloud/viewer
    Preparing search index...

    Function registerDefaultHandlers

    • Register the handlers for the file types the viewer shows out of the box: images, video and audio.

      Importing the package does this, so there is normally nothing to call. It stays exported for a consumer that wants them registered at a point of its own choosing, and does nothing on any call after the first.

      Returns void