Function fileBrowser

  • Open filebrowser & return selected file

    Parameters

    • options: {
          accept?: string;
          multiple?: boolean;
      } = {}

      accept - selectable mimetypes, multiple - Allow selecting more than 1 file

      • Optionalaccept?: string
      • Optionalmultiple?: boolean

    Returns Promise<File[]>

    Array of selected files