@tauri-apps/api@1.0.0-beta.6
此内容尚不支持你的语言。
bundlenow exportsclipboardmodule so you canimport { clipboard } from "@tauri-apps/api".- Fix double window creation
- Add
osmodule which exportsEOL,platform(),version(),type(),arch(),tempdir() -
- Add new nodejs-inspired functions which are
join,resolve,normalize,dirname,basenameandextname.
- Add new nodejs-inspired functions which are
- Add
sepanddelimiterconstants. - Removed
resolvePathAPI, useresolveinstead. - 05b9d81e feat(api.js): add nodejs-inspired functions in
pathmodule (#2310) on 2021-08-02 - Change target to ES2021.
- Add
toggleMaximize()function to theWebviewWindowclass. - Fix
@ts-expecterror usage - Fixes file drop events being swapped (
file-drop-hoveron drop andfile-dropon hover). - Fixes the global bundle UMD code.
-
- Fixes monitor api not working.
- Fixes window.print() not working on macOS.
- 0f63f5e7 fix(api): Fix monitor functions, closes #2294 (#2301) on 2021-07-29
- Improve
EventNametype usingtype-fest’sLiteralUnion. - Update protocol url path with wry 0.12.1 on Windows.
© 2025 Tauri Contributors. CC-BY / MIT