Commit Graph
5 Commits
Author SHA1 Message Date
Chris Rogus 1b54cb95a0 fix the downcast for formdata try_as_web_event (#3227) 2024-11-16 19:20:51 -05:00
Chris RogusandMatt Hunzinger e5a1a62644 use DragEvent not MouseEvent for drag events (#3137)
* use DragEvent not MouseEvent for drag events

* Simplify drag events and remove WebDragData struct

* use DragEvent not MouseEvent for drag events

* re-add the web_sys event reference for drag + mouse data

* remove now vestigial impls for MouseEvent

---------

Co-authored-by: Matt Hunzinger <matthunz2@gmail.com>
2024-10-31 09:44:27 -05:00
Chris RogusandEvan Almloff 7ee3dc41fc nonreactive examples for hooks were not compilable as written (#2337)
* nonreactive examples for hooks were not compilable as written

* add example demonstrating the correct usage of use_resource w router

* switch to readonlysignal in the router resource example

* fix readonlysignal name

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-06-18 18:39:45 -05:00
Chris Rogus d0f0548776 add file size to FileEngine (#2323) 2024-06-10 20:48:36 -07:00
Chris Rogus b147f5a737 impl HasFileData for FormData (#2346) 2024-04-25 14:31:50 -04:00