@tauri-apps/plugin-window-state
이 콘텐츠는 아직 번역되지 않았습니다.
Enumerations
Section titled “Enumerations”StateFlags
Section titled “StateFlags”Enumeration Members
Section titled “Enumeration Members”ALL: 63;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L15
DECORATIONS
Section titled “DECORATIONS”DECORATIONS: 16;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L13
FULLSCREEN
Section titled “FULLSCREEN”FULLSCREEN: 32;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L14
MAXIMIZED
Section titled “MAXIMIZED”MAXIMIZED: 4;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L11
POSITION
Section titled “POSITION”POSITION: 2;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L10
SIZE: 1;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L9
VISIBLE
Section titled “VISIBLE”VISIBLE: 8;Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L12
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: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L44
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: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L28
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: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L38
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: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/window-state/guest-js/index.ts#L21
© 2026 Tauri Contributors. CC-BY / MIT