domu/node
Functions
pub fn append_child(
parent: EventTargetLike(TagNode(a)),
child: EventTargetLike(TagNode(b)),
) -> Nil
pub fn child_nodes(
node: EventTargetLike(TagNode(a)),
) -> NodeList(Live)
pub fn clone_node(
node: EventTargetLike(TagNode(a)),
deep: Bool,
) -> EventTargetLike(TagNode(Concrete))
pub fn owner_document(
node: EventTargetLike(TagNode(a)),
) -> Option(EventTargetLike(TagNode(TagDocument(Concrete))))
pub fn set_text_content(
node: EventTargetLike(TagNode(a)),
text: String,
) -> Nil
Sets textContent
property of Node
pub fn text_content(
node: EventTargetLike(TagNode(a)),
) -> Option(String)
Gets textContent
property of Node