Commit Graph
32 Commits
Author SHA1 Message Date
Evan Almloff 61b4bb2f19 handle bubbling events 2022-06-22 13:57:05 -05:00
Evan Almloff db1866090a fix broken doc links 2022-05-22 20:44:32 -05:00
Reinis Mazeiks 765baf6e48 Rename module input to avoid naming conflict with element of the same name
Not sure if this was supposed to be allowed, but it was causing https://github.com/rust-lang/rust/issues/96934
2022-05-11 13:47:58 +03:00
Reinis Mazeiks 81d3c990bf Simplify mouse button tracking
delete the shitcodes
2022-05-07 16:11:48 +03:00
Reinis Mazeiks 9c6cd42ca2 TUI: use constructor instead of deprecated fields 2022-05-07 10:49:49 +03:00
Reinis Mazeiks c35dddc203 Create constructor for MouseData 2022-05-07 10:31:05 +03:00
Reinis Mazeiks 3fec31fe50 Use keyboard_types instead of bespoke ModifierSet 2022-05-07 10:05:52 +03:00
Reinis Mazeiks 2ef332085c Refactor: move input types to separate module 2022-05-07 09:39:53 +03:00
Reinis Mazeiks 6ba067a617 Use EnumSet for modifier and button sets 2022-05-07 09:31:44 +03:00
Reinis Mazeiks 3c447d7266 Documentation and examples
Also derive useful traits
2022-05-07 00:49:47 +03:00
Reinis Mazeiks 0dbd3e370e Rusty MouseData API 2022-05-06 23:54:07 +03:00
Reinis Mazeiks d84d414170 Add offset coordinates to mouse events on TUI and desktop. 2022-05-04 16:42:14 +03:00
Reinis Mazeiks 96c178f91f Add docs for event MouseData
Adapted from https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent
2022-05-04 16:09:18 +03:00
Evan Almloff 84db875101 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into lazy_tui 2022-04-24 06:56:07 -05:00
Aleksei Zolotov 5e16269532 Add PartialEq to events::KeyCode 2022-04-23 16:21:07 +02:00
Evan Almloff d9276bd64c clean up code and docs 2022-04-17 07:29:35 -05:00
Jonathan Kelley 841ad91fe1 fix: dblclick instead of doubleclick 2022-03-11 10:49:38 -05:00
Jonathan Kelley 61f9b9dd83 fix: remove serde attr 2022-02-15 13:46:14 -05:00
Jonathan Kelley a6cbe233b7 fix: empty values on desktop 2022-02-15 13:38:06 -05:00
Jonathan Kelley f66d17ca84 wip: pass form data between web and desktop 2022-01-22 14:53:59 -05:00
Sven Assmann 007d06d602 feat(events:focus): add missing onfocusin event 2022-01-10 18:08:29 +01:00
Sven Assmann 9849f68f25 feat(example:todomvc): add editing support
- implement "onfocusout" handler
- set autofocus
- handle enter, escape and tab on a todo item
- make the `<pre>` element between todo list items of margin 0 to be unnoticable
2022-01-10 14:46:23 +01:00
Jonathan Kelley c439b0ac7e fix: component pass thru events 2022-01-07 11:51:25 -05:00
Jonathan Kelley 06276edd0d feat: eanble bubbling 2022-01-03 02:11:26 -05:00
Jonathan Kelley d84fc05386 feat: plug in bubbling 2022-01-03 02:06:42 -05:00
Jonathan Kelley 75fa7b4aa6 fix: make tests pass 2022-01-03 01:12:39 -05:00
Jonathan Kelley d1560450ba wip: remove runner on hook and then update docs 2022-01-02 02:15:04 -05:00
Jonathan Kelley 1e4a599d14 wip: rename fc to component 2021-12-09 21:19:31 -05:00
Jonathan Kelley 11757ddf61 feat: fake bubbling 2021-11-11 22:18:16 -05:00
Jonathan Kelley f2234068ba feat: events bubble now 2021-11-11 22:07:38 -05:00
Jonathan Kelley 2933e4bc11 wip: major cleanups to scheduler 2021-11-06 23:11:17 -04:00
Jonathan Kelley 95bd17e38f wip: more raw ptrs 2021-11-05 18:02:44 -04:00