Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FileChooser

Index

Methods

accept

  • accept(filePaths: string[]): Promise<void>
  • Accept the file chooser request with given paths. If some of the filePaths are relative paths, then they are resolved relative to the current working directory.

    Parameters

    • filePaths: string[]

    Returns Promise<void>

cancel

  • cancel(): Promise<void>
  • Closes the file chooser without selecting any files.

    Returns Promise<void>

isMultiple

  • isMultiple(): boolean
  • Whether file chooser allow for multiple file selection.

    Returns boolean

Generated using TypeDoc