Added initial window module functionality. (#57)

This commit is contained in:
bicarlsen 2024-07-23 09:35:07 +02:00 committed by GitHub
parent 125136ae79
commit 9c3cd94275
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 931 additions and 29 deletions

View file

@ -53,6 +53,7 @@ All modules are gated by accordingly named Cargo features. It is recommended you
- **all**: Enables all modules.
- **core**: Enables the `core` module. (Only `invoke` and `convertFileSrc` currently implemented.)
- **event**: Enables the `event` module.
- **window**: Enables the `windows` module. (~20% implemented)
## Are we Tauri yet?
@ -60,7 +61,7 @@ These API bindings are not completely on-par with `@tauri-apps/api` yet, but her
- [ ] `app`
- [x] `core` (partial implementation)
- [ ] `dpi`
- [x] `dpi`
- [x] `event`
- [ ] `image`
- [ ] `menu`
@ -69,7 +70,7 @@ These API bindings are not completely on-par with `@tauri-apps/api` yet, but her
- [ ] `tray`
- [ ] `webview`
- [ ] `webviewWindow`
- [ ] `window`
- [x] `window` (partial implementation)
The current API also very closely mirrors the JS API even though that might not be the most ergonomic choice, ideas for improving the API with quality-of-life features beyond the regular JS API interface are very welcome.