LWT JavaScript API
    Preparing search index...

    Function createMediaPathOptions

    • Return an HTML group of options to add to a select field.

      Parameters

      • paths: string[]

        All paths (files and folders)

      • folders: string[]

        Folders paths, should be a subset of paths

      Returns HTMLOptionElement[]

      List of options to append to the select.