Commit Graph

20 Commits

Author SHA1 Message Date
476ab89783 Fixed another broken documentation link. 2024-02-27 11:35:04 +00:00
81f40c2ee1 Removed dynatos links on documentation. 2024-02-27 11:34:22 +00:00
ad0d784ff0 Added ElementAddClass. 2024-02-21 06:08:11 +00:00
9751c74501 Added the ability for custom element types in dynatos_html::html. 2024-02-19 08:39:11 +00:00
dd4a74a2dd Added remaining headers <h2> through <h6> to dynatos_html::html. 2024-02-19 06:54:53 +00:00
0cac908b61 Renamed with_text_content to with_text. 2024-02-16 17:11:10 +00:00
b958d581c2 NodeWithChildren now supports &[C] and Vec<C>. 2024-02-16 13:54:35 +00:00
033355dad4 Added all current html tags to dynatos_html::html.
Tags in `dynatos_html::html` now use `createElementNS` with the html namespace.
2024-02-16 12:53:31 +00:00
da19e1c801 Improved dynatos_html::html::decl_elements macro. 2024-02-16 12:41:05 +00:00
fdce90882b Added warnings when adding an existing child to a node when using NodeWithChildren. 2024-02-15 20:45:09 +00:00
c563754171 Fixed that .dyn_child would lose the position if the closure returned None. 2024-02-06 07:44:24 +00:00
749cc7b42f Added NodeWithChildren::with_child. 2024-02-04 15:34:35 +00:00
d9d9366080 Added dynatos_html::ElementWithClass. 2024-02-04 14:01:12 +00:00
1ae80ad1e4 Added impls for Children of tuple sizes between 0 and 10, inclusive. 2024-02-04 13:26:23 +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
7c7db72348 ElementWithChildren::with_children now panics on errors by default. 2024-02-04 12:33:26 +00:00
faa8460191 ElementWithAttr::with_attr now panics on errors by default. 2024-02-04 12:29:43 +00:00
bd7b841deb Moved and renamed ElementEventListener to dynatos_util::EventTargetAddListener. 2024-02-04 11:35:57 +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