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