dioxus/packages/web
ASR-ASU 2f49a89638
Add the onresize event handler to Element (#2479)
* Add the capability to handle resize event for web target

* Add the capability to handle resize event for desktop target

* Return all the sizes, not just the first one

* Fix conversion from platform to generic ResizedData for liveview

* Update the generated interpreter js code base

* Fix clippy warnings

* Fix inconsistent use of block_size and inline_size

* Rename `onresized` event to `onresize`

* Remove the the special-casing logic from the binding logic

* Propagating the resize events using CustomEvent

* Fix case convention in core ts

* revert changes to unified bindings

* Cleanup as suggested

* add a resize example

* Fix desktop resize events

* remove tracing from resize example

* use the raw resize entry so we can downcast on web

* remove unused ResizeEventDetail

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-08-15 01:23:49 +00:00
..
.vscode fix: setnode method for rehydration code 2022-03-17 10:51:23 -04:00
examples Make clippy happy 2024-02-04 23:03:52 -08:00
ric_raf fix most typos, add crate-ci/typos to CI (#2653) 2024-07-23 17:49:33 -07:00
src Add the onresize event handler to Element (#2479) 2024-08-15 01:23:49 +00:00
tests Make clippy happy 2024-02-04 23:03:52 -08:00
.gitignore merge master 2022-12-20 20:48:28 -06:00
Cargo.toml Add the onresize event handler to Element (#2479) 2024-08-15 01:23:49 +00:00
NOTES.md fix most typos, add crate-ci/typos to CI (#2653) 2024-07-23 17:49:33 -07:00
README.md Fix Links & Add Link Checker (#2769) 2024-08-02 10:46:18 -07:00

Dioxus-web

Crates.io MIT licensed Build Status Discord chat

Website | Guides | API Docs | Chat

Overview

Run Dioxus in the browser using WebAssembly.

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.