@tauri-apps/api@1.0.0-beta.2
此内容尚不支持你的语言。
- Export
BaseDirectory
inpath
module - Use
export type
to export TS types, enums and interfaces. - Adds
focus?: boolean
to the WindowOptions interface. - Adds
isDecorated
getter on the window API.- f58a2114 feat(core): add
is_decorated
Window getter on 2021-05-30
- f58a2114 feat(core): add
- Adds
isResizable
getter on the window API.- 1e8af280 feat(core): add
is_resizable
Window getter on 2021-05-30
- 1e8af280 feat(core): add
- Adds
isVisible
getter on the window API.- 36506c96 feat(core): add
is_visible
API on 2021-05-30
- 36506c96 feat(core): add
- Adds
requestUserAttention
API to thewindow
module. - Adds
setFocus
to the window API. - Adds
setSkipTaskbar
to the window API.- e06aa277 feat(core): add
set_skip_taskbar
API on 2021-05-30
- e06aa277 feat(core): add
- Adds
skipTaskbar?: boolean
to the WindowOptions interface.- 5525b03a feat(core): add
skip_taskbar
API to the WindowBuilder/WindowOptions on 2021-05-30
- 5525b03a feat(core): add
- Adds
center?: boolean
toWindowOptions
andcenter()
API to theappWindow
. - Adds
clipboard
APIs (write and read text). - The
http
APIs 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
WebviewWindow
constructor as public. - Validate arguments on the window
setLocation
,setSize
,setMinSize
andsetMaxSize
API.
© 2024 Tauri Contributors. CC-BY / MIT