Commit Graph
131 Commits
Author SHA1 Message Date
w3irdrobot 2321c1ad44 add error log when root element isn't found (#1724) 2023-12-15 17:55:19 -06:00
Evan Almloff 7590cf822d fix the scroll event on the web renderer 2023-11-02 21:00:43 -05:00
Gijs de Jong 300cbf4fc6 Remove stray log (#1453) 2023-09-11 08:36:04 -05:00
StygmatesandEvan Almloff 1b977fdce9 Add query segment example and documentation (#1417)
* fix a few new clippy lints

* Add query segment example

* Add trait documentation

* Change core package to root package

The core package contains the virtual dom implementation ([here](https://github.com/DioxusLabs/dioxus/tree/master/packages/core)). Root package might be a more clear way to refer to the main directory

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-02 10:24:30 -05:00
Evan Almloff 45d386810b create features for large web-sys events/types 2023-07-28 15:38:07 -07:00
Evan Almloff 14867931a4 fix clippy 2023-07-20 13:51:26 -07:00
Evan Almloff 67a2d31f9c Merge branch 'master' into prevent-default-form-web 2023-07-20 13:42:14 -07:00
Evan Almloff 04f066ddb7 fix clippy 2023-06-19 08:22:50 -05:00
ealmloff cf9ed74303 Merge branch 'master' into fix-onload-event 2023-06-19 08:16:40 -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
Jon Kelley 379ea09b12 Merge pull request #894 from Demonthos/query-system
Create onmounted Event
2023-05-18 13:17:15 +02: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
Evan Almloff 230afadf3d Fix web events starting on a text node 2023-05-03 09:00:17 -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 6d3d927d5c Merge branch 'fix-select-form-events' into implement-file-engine 2023-04-25 13:18:25 -05:00
Evan Almloff bed1d58a77 create web file engine 2023-04-18 09:24:34 -05:00
Evan Almloff f1f7517b88 Fix form events with select multiple 2023-04-06 11:11:08 -05:00
Evan Almloff bf2d561be4 invert prevent default on web forms 2023-04-04 09:32:09 -05:00
Evan Almloff 1578cbeda4 prevent default redirect on web forms 2023-04-01 19:29:17 -05:00
Evan Almloff cb5cb56ad3 implement onmounted for the web renderer 2023-03-19 18:28:34 -05:00
Evan Almloff 696109db10 implement hydration 2023-01-31 14:10:48 -06:00
Jonathan Kelley c4a18bc24d chore: clean up some clippy warnings and add clippy lints to CI 2023-01-11 16:13:41 -08:00
Evan Almloff 8a1f54f573 fix drag* events 2023-01-10 12:53:40 -06:00
Evan Almloff 51dba50c04 use BumpBox<Any> and FromAnyValue instead of sync bounds 2023-01-02 14:40:25 -06:00
Evan Almloff 044462876d Merge branch 'upstream' into fix-non-str-attributes 2022-12-28 20:36:57 -06:00
Jonathan Kelley 366e46eddf chore: add some fixes to hot reload 2022-12-25 23:22:43 -05:00
Evan Almloff 4caf95d639 add bubbling data to event listeners in the web renderer 2022-12-23 16:04:10 -06:00
Evan Almloff afd024bcb6 Merge branch 'upstream' into fix-non-str-attributes 2022-12-23 15:53:39 -06:00
Jonathan Kelley 8d7d07db56 chore: make clippy happy in workspace crate 2022-12-19 11:56:44 -08:00
Jonathan Kelley c409fecaaf fix: sync with master 2022-12-17 01:52:17 -08:00
Jonathan Kelley cc7736302a Merge branch 'master' into fix-non-str-attributes 2022-12-17 01:51:13 -08:00
Jon Kelley 5ac9b595ea Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley a81bbb83d6 fix: removed files 2022-12-15 20:24:30 -08:00
Jonathan Kelley d4b6bb8a7b feat: fix the scope rollover bug 2022-12-12 18:31:30 -08:00
Evan Almloff 0c0158f62d Merge branch 'upstream' into fix-non-str-attributes 2022-12-09 16:24:02 -06:00
Evan Almloff 8a1c96a68c fix custom attribute value support 2022-12-09 16:18:37 -06:00
Evan Almloff 99a4a9d45b Merge branch 'upstream' into optimize-templates-v3 2022-12-07 18:29:02 -06:00
Evan Almloff b79ad4f50e Merge remote-tracking branch 'upstream/master' into optimize-templates-v3 2022-12-07 17:20:31 -06:00
Jonathan Kelley 4eefc3f854 chore: rename all &cx to cx, make clipppy happy 2022-12-07 13:11:40 -08:00
Jonathan Kelley 1b14b309e9 chore: clean up desktop 2022-12-06 16:37:28 -08:00
Evan Almloff 6102902387 work on optimizing web implementation 2022-12-06 14:24:35 -06:00
Jonathan Kelley b182a6ee75 chore: clean up interpreter and bindings 2022-12-05 16:47:04 -08:00
Jonathan Kelley 7b1cdb7d85 feat: get desktop working with new template strategy 2022-12-05 16:08:41 -08:00
Jonathan Kelley a61daf220d feat: context api overhaul 2022-12-02 16:24:49 -08:00
Jonathan Kelley 11a45c8ef0 chore: continue to clean things up 2022-12-01 01:08:49 -05:00
Jonathan Kelley 85657d3906 feat: rip out mutations for templates 2022-12-01 00:46:15 -05:00
Jonathan Kelley 3b166c9edd wip: clean up some things 2022-11-30 23:54:30 -05:00
Jonathan Kelley ba26b1001a chore: clean up web impl 2022-11-30 17:44:00 -05:00