Commit Graph
29 Commits
Author SHA1 Message Date
Evan Almloff cab573eefd Synchronous prevent default (#2792)
* add prevent default methods to the event

* sync prevent default almost working

* sync prevent default working

* Move event handling into the runtime

* update core tests

* restore desktop file dialog

* implement prevent default on web

* add a hint about the new prevent default method

* fix web prevent default

* Fix CTRL+click on links

* fix values memorize in place test

* Fix a few more tests

* Add a playwright test for sync prevent default

* Fix core doc tests

* create a deprecated VirtualDom::handle_event

* fix macos imports in desktop

* Fix onmounted event

* Fix liveview support

* switch to RefCell for metadata

* Remove println

* remove prevent default attribute

* remove web specific link behavior

* Fix liveview links

* more liveview fixes for link

* Fix merge conflicts

* Fix clippy

* use the new prevent default in the file upload example
2024-08-13 11:57:54 -07:00
Jonathan Kelley 214a907adc Upgrade to axum 0.7, drop 3rd party adapters 2024-02-15 18:05:30 -08:00
Jonathan Kelley 4f8868d43d Merge pull request #1791 from ealmloff/breaking
Remove scope, use_state, use_ref, bump allocator and make everything 'static
2024-02-05 14:19:47 -08:00
Andrew Voynov c51e594fe3 docs(liveview): fixed adapter comments
Fixed some typos; added some word capitalization, periods, and ``.
2024-02-03 22:23:38 +03:00
Evan Almloff 636aeb4b90 integrate liveview with the launch builder 2024-01-22 11:56:34 -06:00
Jonathan Kelley a2f44be2a2 Merge branch 'master' into binary-protocal 2024-01-04 10:17:10 -08:00
Georges KABBOUCHI 3733fbf47d feat(liveview): add rocket adapter (#1761) 2023-12-30 13:49:32 -06:00
Evan Almloff f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
Evan Almloff 8188011fe3 fix adapters 2023-07-18 13:03:34 -07:00
Jonathan Kelley b76c520108 fix: salvo and remove actix from list of webframeworks 2022-12-19 15:29:20 -08:00
Jonathan Kelley aa71c111cd feat: introduce simpler adapters for liveview 2022-12-19 13:11:49 -08:00
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley eee191b630 fmt 2022-12-15 20:28:04 -08:00
Jonathan Kelley b95069619f feat: get liveview working across the boar 2022-12-15 19:57:48 -08:00
Jonathan Kelley 7790d2c065 chore: simplify liveview abstraction 2022-12-15 18:46:59 -08:00
Jonathan Kelley 06e8e096bb feat: more fixes to liveview 2022-12-15 14:25:23 -08:00
Jonathan Kelley e256fe1079 wip: add html event type 2022-12-14 19:07:33 -08:00
Chrislearn Young e4466fee0a Add liveview Salvo integration (#538) 2022-09-13 14:24:30 -07:00
Jonathan Kelley 8be66bd34d fix: apply some clippy lints and rename the liveview methods to not intersect 2022-06-20 02:24:39 -04:00
Ian 3b45edacc0 features don't play nice with vscode development 2022-04-26 09:54:12 -04:00
Ian 4b3d200c0d fixed cargo check issue 2022-04-26 09:50:19 -04:00
Ian f332ffc5ad support starting liveview with props 2022-04-24 00:37:46 -04:00
Ian dfaa6c186b Fixed example squiglies. 2022-04-23 22:13:43 -04:00
WIGGLES d6a4a59035 Merge branch 'DioxusLabs:master' into master 2022-04-20 16:50:39 -04:00
Jonathan Kelley 5ff87f6375 fix: liveview handler should filter only for events 2022-04-20 00:52:10 -04:00
Ian a632d9b12b implemented liveview axum adapter 2022-04-19 22:51:56 -04:00
Jonathan Kelley e44cc41114 fix: cargo fmt 2022-03-15 01:35:59 -04:00
Jonathan Kelley 7bdb8a4539 fix: fmt by including adapters for liveview 2022-03-15 01:28:50 -04:00
Jonathan Kelley 71184b51a0 feat: liveview working with warp 2022-03-15 01:02:44 -04:00