Skip to content

Latest commit

 

History

History
91 lines (46 loc) · 1.35 KB

zotero-plugin-toolkit.filepickerhelper.md

File metadata and controls

91 lines (46 loc) · 1.35 KB

Home > zotero-plugin-toolkit > FilePickerHelper

FilePickerHelper class

File picker helper.

Signature:

export declare class FilePickerHelper<MODE extends "open" | "save" | "folder" | "multiple"> extends BasicTool 

Extends: BasicTool

Example

await new FilePickerHelper(
  `${Zotero.getString("fileInterface.import")} MarkDown Document`,
  "open",
  [["MarkDown File(*.md)", "*.md"]]
).open();

Constructors

Constructor

Modifiers

Description

(constructor)(title, mode, filters, suggestion, window, filterMask, directory)

Constructs a new instance of the FilePickerHelper class

Methods

Method

Modifiers

Description

open()