tauri-syntax-webview
Installation
SKILL.md
tauri-syntax-webview
Quick Reference
Webview API Imports
| Import | Purpose | Example |
|---|---|---|
getCurrentWebview() |
Get the current webview instance | const wv = getCurrentWebview() |
getAllWebviews() |
Get all webview instances | const all = await getAllWebviews() |
Webview |
Webview class for creation and reference | new Webview(window, 'label', opts) |
Import path: import { Webview, getCurrentWebview, getAllWebviews } from '@tauri-apps/api/webview'