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