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.
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.