mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-04 15:47:50 +02:00
set readme banners to absolute url
Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
Interact with the Tauri window.
|
||||
|
||||
@@ -60,19 +60,19 @@ fn main() {
|
||||
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
|
||||
|
||||
```javascript
|
||||
import { appWindow, WebviewWindow } from "@tauri-apps/plugin-window";
|
||||
import { appWindow, WebviewWindow } from '@tauri-apps/plugin-window';
|
||||
|
||||
// manipulating this window
|
||||
await appWindow.setResizable(false);
|
||||
|
||||
// Creating new windows:
|
||||
// loading embedded asset:
|
||||
const webview = new WebviewWindow("theUniqueLabel", {
|
||||
url: "path/to/page.html",
|
||||
const webview = new WebviewWindow('theUniqueLabel', {
|
||||
url: 'path/to/page.html',
|
||||
});
|
||||
// alternatively, load a remote URL:
|
||||
const webview = new WebviewWindow("theUniqueLabel", {
|
||||
url: "https://github.com/tauri-apps/tauri",
|
||||
const webview = new WebviewWindow('theUniqueLabel', {
|
||||
url: 'https://github.com/tauri-apps/tauri',
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user