Commit Graph

40 Commits

Author SHA1 Message Date
e775a5bf7a Replaced .with(Clone::clone) with .get_cloned(). 2024-02-20 14:19:55 +00:00
1766db806a Location no longer implements SignalGet. 2024-02-20 13:53:39 +00:00
95d86209a2 Removed ElementDynAttr::set_dyn_attr.
Renamed `Element[With]DynAttr::{set, with}_dyn_attr_value` to `{set, with}_dyn_attr`.
2024-02-20 03:18:29 +00:00
5240c097a8 ObjectDynProp now receives anything that implements ToDynProp. 2024-02-19 08:30:18 +00:00
c4d52a8023 Extracted NodeDynText::with_dyn_text to a new trait. 2024-02-19 04:31:59 +00:00
eeecefa35d Extracted NodeDynChild::with_dyn_child to a new trait. 2024-02-19 04:30:49 +00:00
a89ef03182 Extracted ElementDynAttr::with_* to a new trait. 2024-02-19 04:29:35 +00:00
6fc5984344 Extracted ObjectAttachEffect::with_effect to a new trait. 2024-02-19 04:26:39 +00:00
9ca824015f Added dynatos::ObjectAttachContext. 2024-02-19 04:22:39 +00:00
2740552a53 Removed dynatos-logger. 2024-02-18 01:32:55 +00:00
5e82c61b3a Updated to rustc 1.78.0-nightly (bccb9bbb4 2024-02-16). 2024-02-18 01:28:16 +00:00
8fd25d7d0f dyn_text now receives anything that implements AsDynText. 2024-02-16 19:19:45 +00:00
2596868670 Removed function argument from with_event_listener.
Separated `with_event_listener` to it's own trait.
2024-02-16 17:15:44 +00:00
0cac908b61 Renamed with_text_content to with_text. 2024-02-16 17:11:10 +00:00
eab0e669c3 Added dynatos-title to manage the document title. 2024-02-16 16:44:48 +00:00
62b391d318 Renamed ObjectSet to `ObjectSetProp 2024-02-16 15:12:19 +00:00
38bbd90ac2 dyn_child now receives anything that implements AsDynNode. 2024-02-16 15:04:16 +00:00
8b504329a4 Added dynatos_reactive::Derived. 2024-02-16 12:31:48 +00:00
9ab1115f78 Replaced ObjectDefineProperty with ObjectSet. 2024-02-06 09:15:50 +00:00
c563754171 Fixed that .dyn_child would lose the position if the closure returned None. 2024-02-06 07:44:24 +00:00
0083e62fa7 NodeDynChild now accepts a missing child. 2024-02-04 15:03:17 +00:00
d9d9366080 Added dynatos_html::ElementWithClass. 2024-02-04 14:01:12 +00:00
e972ae461f Added dynatos::ElementDynAttr. 2024-02-04 13:33:58 +00:00
90e12df0cf Renamed ElementWithTextContent to NodeWithTextContent.
Renamed `ElementWithChildren` to `NodeWithChildren`.
Made the previous and `ElementWithAttr` all generic on their implemented type.
2024-02-04 13:19:18 +00:00
94a4fe3f65 Renamed ElementDynChild to NodeDynChild.
Also made it generic over the types.
2024-02-04 13:15:27 +00:00
bc8f562a42 Renamed ElementDynText to NodeDynText.
Also made it generic over the type.
2024-02-04 13:13:17 +00:00
e3dc70b725 Most web_sys fallible calls now panic on failure. 2024-02-04 12:37:36 +00:00
7c7db72348 ElementWithChildren::with_children now panics on errors by default. 2024-02-04 12:33:26 +00:00
50a99c0ac2 Location now implements the signal traits. 2024-02-04 12:00:53 +00:00
bd7b841deb Moved and renamed ElementEventListener to dynatos_util::EventTargetAddListener. 2024-02-04 11:35:57 +00:00
88856c4836 Added dynatos_reactive::WithDefault. 2024-02-04 11:29:39 +00:00
4afb802c11 QuerySignal now implements the signal traits. 2024-02-04 11:16:24 +00:00
6660d8bc13 Added dynatos_reactive::Signal{Get, With, Set, Update}.
`Signal` now updates the previously added traits.
2024-02-04 11:12:14 +00:00
3d8743c9dc Added query example. 2024-02-04 11:04:31 +00:00
1ed9471985 Removed unnecessary features from router example. 2024-02-04 11:04:28 +00:00
0b83a492ef Moved several Element-specific extension traits to dynatos-html. 2024-02-04 10:05:22 +00:00
4ac4946245 Added dynatos-html. 2024-02-04 10:01:41 +00:00
6bdb983304 Added router example. 2024-02-04 09:48:24 +00:00
c4e1355abe Removed pub attribute from local function in counter example. 2024-02-04 02:22:03 +00:00
9717f1e6b4 Added counter example. 2024-02-04 01:28:22 +00:00