@tauri-apps/plugin-window-state
此内容尚不支持你的语言。
ALL: 63;DECORATIONS: 16;FULLSCREEN: 32;MAXIMIZED: 4;POSITION: 2;SIZE: 1;VISIBLE: 8;function filename(): Promise<string>Get the name of the file used to store window state.
Promise<string>
function restoreState(label, flags?): Promise<void>Restore the state for the specified window from disk.
| Parameter | Type |
|---|---|
label | string |
flags? | StateFlags |
Promise<void>
function restoreStateCurrent(flags?): Promise<void>Restore the state for the current window from disk.
| Parameter | Type |
|---|---|
flags? | StateFlags |
Promise<void>
function saveWindowState(flags?): Promise<void>Save the state of all open windows to disk.
| Parameter | Type |
|---|---|
flags? | StateFlags |
Promise<void>
© 2025 Tauri Contributors. CC-BY / MIT