Commit Graph
20 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 60616d0ba7 fix liveview 2024-03-06 17:26:52 -08:00
Evan Almloff 271b53e866 Update the liveview renderer to the new sledgehammer version 2024-02-27 11:46:40 -06:00
Evan Almloff 93ee53454f bump the sledgehammer bindgen version 2024-02-27 10:35:16 -06:00
Evan Almloff 1d664c616e restore desktop/liveview minification 2023-10-20 09:18:16 -05:00
Evan Almloff 007aacc247 remove liveview logging 2023-10-19 16:41:47 -05:00
Evan Almloff c9612a085e fix liveview mounted event 2023-10-19 16:40:08 -05:00
Evan Almloff 1a4741ce04 fix liveview events 2023-10-12 10:21:29 -05:00
Evan Almloff f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
Evan Almloff 553205dc74 Merge branch 'master' into fix-links-liveview 2023-05-24 07:38:04 -05:00
Evan Almloff 28ef3f8968 fix liveview links 2023-04-23 12:07:38 -05:00
Evan Almloff 8243dfe00d implement a query engine for liveview 2023-03-23 16:52:29 -05:00
Jonathan Kelley fd875cd9db chore: dont log on pong 2023-01-10 16:54:40 -08:00
Evan Almloff 6a8fefdfd8 keep liveview websocket alive 2023-01-10 14:41:26 -06:00
Jonathan Kelley 3c1786b7f1 chore: use ws instead of global 2022-12-22 02:56:33 -05:00
Jonathan Kelley 19d0a9af28 chore: send message when websocket is open 2022-12-22 02:40:02 -05: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 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