File browser handle
See File browser handle page for usage instructions.
FileBrowserHandle
Interface
File browser methods exposed to developers via the FileBrowser
ref.
Source code on GitHub: src/types/file-browser.types.ts
getFileSelection:() => Set<string>
MethodMethod used to get the current file selection.
setFileSelection:(selection: Set<string>, reset?: boolean) => void
MethodMethod used to set the current file selection.
requestFileAction:(action: Action, payload: Action['__payloadType']) => Promise<void>
MethodMethod used to programatically trigger file actions in Chonky.