Type Definition sauron_core::vdom::Node[][src]

pub type Node<MSG> = Node<Namespace, Tag, AttributeName, AttributeValue<MSG>>;
Expand description

A simplified version of saurdon_vdom node, where we supplied the type for the tag which is a &’static str. The missing type is now only MSG which will be supplied by the users App code.

Trait Implementations

map the msg of callback of this element node

map the msg of callback of this element node

Return the callbacks present on this node

render instance to a writable buffer with indention node_idx is for debugging purposes Read more

render the node to a writable buffer

no new_lines, no indents

render compressed html to string

render to string with nice indention

get the first attribute value with this attribute name

return the value of “key” attribute

return the boolean value of the “focus” attribute of this node