@tauri-apps/plugin-window-state
Enumerations
Section titled “Enumerations”StateFlags
Section titled “StateFlags”Enumeration Members
Section titled “Enumeration Members”ALL: 63;Source: undefined
DECORATIONS
Section titled “DECORATIONS”DECORATIONS: 16;Source: undefined
FULLSCREEN
Section titled “FULLSCREEN”FULLSCREEN: 32;Source: undefined
MAXIMIZED
Section titled “MAXIMIZED”MAXIMIZED: 4;Source: undefined
POSITION
Section titled “POSITION”POSITION: 2;Source: undefined
SIZE: 1;Source: undefined
VISIBLE
Section titled “VISIBLE”VISIBLE: 8;Source: undefined
Functions
Section titled “Functions”filename()
Section titled “filename()”function filename(): Promise<string>Get the name of the file used to store window state.
Returns
Section titled “Returns”Promise<string>
Source: undefined
restoreState()
Section titled “restoreState()”function restoreState(label, flags?): Promise<void>Restore the state for the specified window from disk.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
label |
string |
flags? |
StateFlags |
Returns
Section titled “Returns”Promise<void>
Source: undefined
restoreStateCurrent()
Section titled “restoreStateCurrent()”function restoreStateCurrent(flags?): Promise<void>Restore the state for the current window from disk.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
flags? |
StateFlags |
Returns
Section titled “Returns”Promise<void>
Source: undefined
saveWindowState()
Section titled “saveWindowState()”function saveWindowState(flags?): Promise<void>Save the state of all open windows to disk.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
flags? |
StateFlags |
Returns
Section titled “Returns”Promise<void>
Source: undefined
Tauri 中文网 - 粤ICP备13048890号
Nodejs.cn 旗下网站