@tauri-apps/api@1.0.0-beta.2
Ce contenu n’est pas encore disponible dans votre langue.
- Export
BaseDirectoryinpathmodule - Use
export typeto export TS types, enums and interfaces. - Adds
focus?: booleanto the WindowOptions interface. - Adds
isDecoratedgetter on the window API.- f58a2114 feat(core): add
is_decoratedWindow getter on 2021-05-30
- f58a2114 feat(core): add
- Adds
isResizablegetter on the window API.- 1e8af280 feat(core): add
is_resizableWindow getter on 2021-05-30
- 1e8af280 feat(core): add
- Adds
isVisiblegetter on the window API.- 36506c96 feat(core): add
is_visibleAPI on 2021-05-30
- 36506c96 feat(core): add
- Adds
requestUserAttentionAPI to thewindowmodule. - Adds
setFocusto the window API. - Adds
setSkipTaskbarto the window API.- e06aa277 feat(core): add
set_skip_taskbarAPI on 2021-05-30
- e06aa277 feat(core): add
- Adds
skipTaskbar?: booleanto the WindowOptions interface.- 5525b03a feat(core): add
skip_taskbarAPI to the WindowBuilder/WindowOptions on 2021-05-30
- 5525b03a feat(core): add
- Adds
center?: booleantoWindowOptionsandcenter()API to theappWindow. - Adds
clipboardAPIs (write and read text). - The
httpAPIs now resolve the returned promise when the API call finishes with an error status code. - Improve RPC security by requiring a numeric code to invoke commands. The codes are generated by the Rust side and injected into the app’s code using a closure, so external scripts can’t access the backend. This change doesn’t protect
withGlobalTauri(window.__TAURI__) usage. - Mark the
WebviewWindowconstructor as public. - Validate arguments on the window
setLocation,setSize,setMinSizeandsetMaxSizeAPI.
© 2025 Tauri Contributors. CC-BY / MIT