You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/api/src/index.ts
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,16 @@
10
10
* ```typescript
11
11
* import { event, window, path } from '@tauri-apps/api'
12
12
* ```
13
+
*
14
+
* ### Vanilla JS API
15
+
*
16
+
* The above import syntax is for JavaScript/TypeScript with a bundler. If you're using vanilla JavaScript, you can use the global `window.__TAURI__` object instead. It requires `app.withGlobalTauri` configuration option enabled.
0 commit comments