mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-31 13:39:36 +02:00
Revert "set readme banners to absolute url"
This reverts commit c46b464c69.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
Save window positions and sizes and restore them when the app is reopened.
|
||||
|
||||
@@ -71,7 +71,7 @@ app.save_window_state(StateFlags::all()); // will save the state of all open win
|
||||
or through Javascript
|
||||
|
||||
```javascript
|
||||
import { saveWindowState, StateFlags } from '@tauri-apps/plugin-window-state';
|
||||
import { saveWindowState, StateFlags } from "@tauri-apps/plugin-window-state";
|
||||
|
||||
saveWindowState(StateFlags.ALL);
|
||||
```
|
||||
@@ -91,7 +91,7 @@ or through Javascript
|
||||
import {
|
||||
restoreStateCurrent,
|
||||
StateFlags,
|
||||
} from '@tauri-apps/plugin-window-state';
|
||||
} from "@tauri-apps/plugin-window-state";
|
||||
|
||||
restoreStateCurrent(StateFlags.ALL);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user