@tauri-apps/plugin-window-state
Enumerations
StateFlags
Enumeration Members
ALL
ALL: 63;Source: index.ts:15
DECORATIONS
DECORATIONS: 16;Source: index.ts:13
FULLSCREEN
FULLSCREEN: 32;Source: index.ts:14
MAXIMIZED
MAXIMIZED: 4;Source: index.ts:11
POSITION
POSITION: 2;Source: index.ts:10
SIZE
SIZE: 1;Source: index.ts:9
VISIBLE
VISIBLE: 8;Source: index.ts:12
Functions
restoreState()
restoreState(label, flags): Promise< void >Restore the state for the specified window from disk.
Parameters
| Parameter | Type |
|---|---|
label | string |
flags | StateFlags |
Returns
Promise< void >
Source: index.ts:28
restoreStateCurrent()
restoreStateCurrent(flags): Promise< void >Restore the state for the current window from disk.
Parameters
| Parameter | Type |
|---|---|
flags | StateFlags |
Returns
Promise< void >
Source: index.ts:38
saveWindowState()
saveWindowState(flags): Promise< void >Save the state of all open windows to disk.
Parameters
| Parameter | Type |
|---|---|
flags | StateFlags |
Returns
Promise< void >
Source: index.ts:21
© 2024 Tauri Contributors. CC-BY / MIT