Interface FileExplorerProps
Source: FileExplorer.tsx
Extends
Indexable
[
key:string]:unknown
Properties
fullscreen?
optionalfullscreen?:boolean
Whether to start the window in fullscreen mode.
Default
falseInherited from
WindowProps.fullscreen
setTitle?
optionalsetTitle?:Dispatch<SetStateAction<string>>
Function that sets the title of the window.
Inherited from
WindowProps.setTitle
setIconUrl?
optionalsetIconUrl?:Dispatch<SetStateAction<string>>
Function that sets the icon URL of the window.
Inherited from
WindowProps.setIconUrl
close?
optionalclose?: (event?:Event|UIEvent<HTMLElement,UIEvent>) =>void
Function that closes the window.
Parameters
event?
Event | UIEvent<HTMLElement, UIEvent>
Returns
void
Inherited from
WindowProps.close
focus?
optionalfocus?: (event?:Event|UIEvent<HTMLElement,UIEvent>,force?:boolean) =>void
Function that brings the window in focus.
Parameters
event?
Event | UIEvent<HTMLElement, UIEvent>
force?
boolean
Returns
void
Inherited from
WindowProps.focus
active?
optionalactive?:boolean
Whether the window is currently focused and should allow interactions.
Inherited from
WindowProps.active
minimized?
optionalminimized?:boolean
Whether to start the window in minimized mode.
Inherited from
WindowProps.minimized
toggleMinimized?
optionaltoggleMinimized?: (event?:Event) =>void
Function that toggles the minimized mode of the window.
Parameters
event?
Returns
void
Inherited from
WindowProps.toggleMinimized
index?
optionalindex?:number
The depth value of the window.
Inherited from
WindowProps.index
standalone?
optionalstandalone?:boolean
Whether the window is in standalone mode.
Inherited from
WindowProps.standalone
id?
optionalid?:string
The ID of the window.
Inherited from
WindowProps.id
app?
optionalapp?:App<WindowProps>
The app associated with the window.
Inherited from
WindowProps.app
size?
optionalsize?:Vector2
The size of the window.
Default
new Vector2(700, 400)Inherited from
WindowProps.size
position?
optionalposition?:Vector2
The position of the window.
Inherited from
WindowProps.position
options?
optionaloptions?:object
Inherited from
WindowProps.options
isFocused?
optionalisFocused?:boolean
Inherited from
WindowProps.isFocused
lastInteraction?
optionallastInteraction?:number
Inherited from
WindowProps.lastInteraction
path?
optionalpath?:string
selectorMode?
optionalselectorMode?:number
Footer?
optionalFooter?:FC
onSelectionChange?
optionalonSelectionChange?: (params:OnSelectionChangeParams) =>void
Parameters
params
Returns
void
onSelectionFinish?
optionalonSelectionFinish?: () =>void
Returns
void