@tauri-apps/api@1.0.0-beta.6
此内容尚不支持你的语言。
bundle
now exportsclipboard
module so you canimport { clipboard } from "@tauri-apps/api"
.- Fix double window creation
- Add
os
module which exportsEOL
,platform()
,version()
,type()
,arch()
,tempdir()
-
- Add new nodejs-inspired functions which are
join
,resolve
,normalize
,dirname
,basename
andextname
.
- Add new nodejs-inspired functions which are
- Add
sep
anddelimiter
constants. - Removed
resolvePath
API, useresolve
instead. - 05b9d81e feat(api.js): add nodejs-inspired functions in
path
module (#2310) on 2021-08-02 - Change target to ES2021.
- Add
toggleMaximize()
function to theWebviewWindow
class. - Fix
@ts-expect
error usage - Fixes file drop events being swapped (
file-drop-hover
on drop andfile-drop
on 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
EventName
type usingtype-fest
’sLiteralUnion
. - Update protocol url path with wry 0.12.1 on Windows.
© 2024 Tauri Contributors. CC-BY / MIT