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: docs/en/api/js/index.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,12 @@ hide_title: true
7
7
8
8
# @tauri-apps/api
9
9
10
+
The `@tauri-apps/api` package is a JavaScript interface to the Tauri API.
11
+
It is written in TypeScript and allows you to call core APIs and your own commands.
12
+
Note that some APIs must be enabled under `tauri.conf.json > tauri > allowlist`, and each module explains the configuration.
13
+
14
+
If you are not using a module bundler, you can use this API as a `window.__TAURI__` object by enabling it on `tauri.conf.json > build > withGlobalTauri`.
0 commit comments