File Picker Open
caution
This is outdated, feel free to contribute to the docs and update this page. Otherwise it'll get updated in a few weeks.
View code source filePickerOpen can be used to display the open file picker dialog.
Usage
import { filePickerOpen } from "42/ui/invocables/filePickerOpen.js"
const result = await filePickerOpen(path: string, options: object)
Arguments
| Argument | Type | Description |
|---|---|---|
| path | String | Path for the dialog to initially open up to |
Options
| Property | Type | Description |
|---|---|---|
| agree | String | Text for the agree button |
| decline | String | Text for the decline button |
The options object can also include the properties in the Explorer function options object.