23 Commits

Author SHA1 Message Date
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