Docs

Windows

Create and control native windows from either side.

Open a window

ts
ts
import { WebviewWindow } from '@tauri-apps/api/webviewWindow';

const win = new WebviewWindow('settings', {
  url: '/settings',
  title: 'Settings',
  width: 600,
  height: 400
});