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