Commit Graph
124 Commits
Author SHA1 Message Date
Bunny Bites 67670875bb fix parsing issue for desktop platform 2023-11-14 01:13:47 +05:30
Bunny Bites 2b459e6fc1 1. optimize import.
2. modify post event serialization.
2023-11-10 23:32:41 +05:30
Oak f3a749538b feat: initial_checked attribute for inputs (#1540)
Mapped to defaultChecked property of HTMLInputElement.
2023-10-12 08:12:09 -05:00
Leonard 2d1234c3d1 Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Oak 5bcb772511 feat: initial_selected attribute for options (#1508) 2023-10-02 14:08:09 -05:00
Jonathan Kelley 73169e377e Merge pull request #1322 from ealmloff/fix-text-node-target-events
Fix events with a text node target
2023-09-16 11:57:33 -07:00
Evan Almloff d1603238c4 Fix events with a text node target 2023-08-08 09:49:04 -07:00
Evan Almloff c32d6dc8cb Handle oninput for select elements 2023-08-07 17:19:16 -07:00
Evan Almloff 28ae065218 optimize the remove_attribute function 2023-07-20 10:53:24 -07:00
Kaid e39d8708fa Changed directory to webkitdirectory in bool_attrs definitions. 2023-07-10 17:19:11 +08:00
Jon Kelley abccc7463f Merge pull request #1010 from Demonthos/fix-onload-event
Fix the onload event
2023-06-30 12:14:35 -07:00
Evan Almloff 4f672ff4bb fix boolean attributes with raw boolean values 2023-06-19 10:19:35 -05:00
ealmloff cf9ed74303 Merge branch 'master' into fix-onload-event 2023-06-19 08:16:40 -05:00
Kaid 277436f673 Changed underlying directory attribute to webkitdirectory, fixed attribute parsing to properly toggle it. 2023-06-06 08:06:27 +08:00
Kaid 37a8fb5391 Add directory support for file input. 2023-06-05 16:47:04 +08:00
Miles Murgaw 510c242883 fix: move bool_attrs to common.js (#1072) 2023-06-04 14:15:46 -05:00
Miles Murgaw d09c92beda Add initial_value attribute & fix static special attribute handling (#1063)
* feat & fix: initial_value attribute, special attribute handling

* revision: rename js file

* fix: rustfmt

* fix: clippy

* fix: desktop not finding common.js

* fix: desktop failing to render

Missed a single ``this.SetAttributeInner`` as it was now ``setAttributeInner``
Javascript didn't even throw any errors about this smh

* revision: no need for match statement
2023-06-04 11:29:34 -05:00
Evan Almloff 553205dc74 Merge branch 'master' into fix-links-liveview 2023-05-24 07:38:04 -05:00
Evan Almloff 77275d40c1 Merge branch 'master' into fix-links-liveview 2023-05-24 07:36:16 -05:00
Evan Almloff 043aae1689 fix the onload event 2023-05-08 17:49:28 -05:00
Evan Almloff 19436e210f Merge branch 'upstream' into query-system 2023-05-05 11:09:25 -05:00
ealmloff 4d90bdee47 Remove console.log 2023-04-29 20:42:47 -05:00
Evan Almloff f044bb2128 fix onclick event 2023-04-27 15:19:10 -05:00
AttilioandEvan Almloff c645e1c6aa Allow multiple prevent default for Web, Desktop and LiveView (#987)
* Allow multiple prevent default in dioxus_web

* Use SplitWhitespace for prevent default requests

* Add multiple prevent default option to liveview and desktop

* Update docs about prevent_default attribute

* cargo clippy

* update prevent default guide example

---------

Co-authored-by: Evan Almloff <ealmlof1@stumail.jccc.edu>
2023-04-27 11:26:04 -05:00
Evan Almloff e1f02f8135 Merge branch 'upstream' into query-system 2023-04-26 18:00:39 -05:00
Evan Almloff 7e292cc2fa Merge branch 'upstream' into fix-links-liveview 2023-04-26 17:56:13 -05:00
Jonathan Kelley 22cfff647c Merge branch 'master' into implement-file-engine 2023-04-26 15:32:34 -07:00
Evan Almloff 9cfb655478 implement the file engine for liveview 2023-04-25 14:26:12 -05:00
Evan Almloff 6d3d927d5c Merge branch 'fix-select-form-events' into implement-file-engine 2023-04-25 13:18:25 -05:00
Evan Almloff 28ef3f8968 fix liveview links 2023-04-23 12:07:38 -05:00
Evan Almloff 5a08da5ec7 fix selected and checked with boolean attributes 2023-04-23 11:48:53 -05:00
Evan Almloff d7eae79509 prevent default file input behavior on desktop 2023-04-20 10:10:52 -05:00
Evan Almloff 223c7efce2 Merge branch 'upstream' into query-system 2023-04-18 10:33:40 -05:00
Evan Almloff ea5a6775a2 bump sledgehammer-bindgen version 2023-04-14 14:58:48 -05:00
Evan Almloff f1f7517b88 Fix form events with select multiple 2023-04-06 11:11:08 -05:00
Evan Almloff fa9f0d0f6c Generalize Query system for use in use_eval and node querys 2023-03-23 15:19:00 -05:00
Evan Almloff 7636c046fa implement on mounted for desktop 2023-03-20 16:10:34 -05:00
Evan Almloff cb5cb56ad3 implement onmounted for the web renderer 2023-03-19 18:28:34 -05:00
Evan Almloff 7253eabe0a fix anchor link for block-level elements 2023-03-06 20:49:23 -06:00
Evan Almloff 6bea6f6385 fix text dynamic node not assigning id 2023-02-09 09:14:07 -06:00
Evan Almloff c881f9bf82 fix removing attributes in web bindings 2023-02-05 19:48:49 -06:00
Evan Almloff 51ca23b3f7 fix drag serialization on desktop 2023-01-25 20:44:42 -06:00
Evan Almloff c5bb4275e6 fix boolean attributes with the web renderer 2023-01-13 08:48:59 -06:00
Evan Almloff d2b5af6615 remove logs from interpreter 2023-01-09 12:04:38 -06:00
Evan Almloff ea43b864db remove attributes with the None value 2023-01-03 08:51:48 -06:00
Jonathan Kelley 4fdbce9a70 chore: clean up readmes 2022-12-29 16:17:03 -05:00
Jonathan Kelley 58b0519c2f feat: get interpreter working on desktop 2022-12-19 15:02:36 -08:00
Jonathan Kelley 50faa7dd08 feat: add proper event type 2022-12-19 14:14:01 -08:00
Evan Almloff f84166fb11 allow configering the root name in the desktop renderer 2022-12-18 22:28:40 -06:00
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00