dioxus/packages/desktop
Jonathan Kelley e923c6462c
Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116)
* Fix: css hotreloading being invalidated, watcher not watching cargo/dioxus tomls, add feature to restore window state

* Make clappy hippier

* remove console log

* use simpler css invalidator

* Less flash, remove log on web hotreload

* Fix floating window managed behavior on mac

* clippy...
2024-03-20 09:16:18 -07:00
..
examples Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to 2024-01-31 16:33:53 -08:00
headless_tests Fix #2043: use formvalue instead of String for forms (#2103) 2024-03-18 18:21:08 -07:00
src Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116) 2024-03-20 09:16:18 -07:00
build.rs remove minified js from build scripts 2024-02-01 10:07:03 -06:00
Cargo.toml Resume window position/size, watch cargo/dioxus tomls, fix css reverting during hotreloading, allow menubar events to be captured from within dioxus (#2116) 2024-03-20 09:16:18 -07:00
CHANGELOG.md
README.md

Dioxus Desktop (webview)

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

dioxus-desktop provides a webview-based desktop renderer for the Dioxus VirtualDom.

This requires that webview is installed on the target system. WebView is installed by default on macOS and iOS devices, but might not come preinstalled on Windows or Linux devices. To fix these issues, follow the instructions in the guide.

Features

  • Simple, one-line launch for desktop apps
  • Dioxus VirtualDom running on a native thread
  • Full HTML/CSS support via wry and tao
  • Exposed window and Proxy types from tao for direct window manipulation
  • Helpful hooks for accessing the window, WebView, and running javascript.

Contributing

  • Report issues on our issue tracker.
  • Join the discord and ask questions!

License

This project is licensed under the MIT license.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you shall be licensed as MIT without any additional terms or conditions.