27 Commits

Author SHA1 Message Date
73e57a15a1
Added dynatos_html::{html, html_file} macros. 2024-12-03 06:37:23 +00:00
f9376bd7c8
Added dynatos_html::{text, comment}. 2024-12-03 05:40:34 +00:00
df9d973af3
Added dynatos_html::ElementWithInnerHtml. 2024-12-03 04:24:55 +00:00
7a07fbc0de
Added NodeAddChildren. 2024-03-14 08:38:30 +00:00
65145a5510
Added warning for lint clippy::needless_pass_by_value. 2024-03-11 00:32:55 +00:00
1d0d9898a3
Added warning for lint clippy::semicolon_if_nothing_returned. 2024-03-11 00:30:02 +00:00
37e4995d63
Added warning for lint clippy::must_use_candidate. 2024-03-11 00:27:33 +00:00
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