@nextcloud/router
    Preparing search index...

    Function imagePath

    • Get the path with webroot to an image file if no extension is given for the image, it will automatically add .svg

      Parameters

      • app: string

        the app id to which the image belongs

      • file: string

        the name of the image file

      Returns string