Fmlib_browser.HtmlSourceVirtual Dom
Type of a virtual dom node potentially generating a message of type 'msg.
node tag attrs children
Create an html element with a tagname, a list of attributes and a list of children.
node namespace tag attrs children
Like node, but creates the node within a namespace e.g. "http://www.w3.org/2000/svg" for svg elements.
svg_node tag attrs children
Create an svg element with a tagname, a list of attributes and a list of children. An svg element is a node in the namespace "http://www.w3.org/2000/svg".
map f vdom
Map a virtual dom vdom creating messages of type 'a to a virtual dom creating messages of type 'b.
keyed tag attrs children
Like node, but add a unique identifier to each child node. This makes adding, removing and modifying child nodes more efficient. The dom diffing algorithm compares child nodes with the same identifier.
h1 attrs children is equivalent to node "h1" attrs children.
h2 attrs children is equivalent to node "h2" attrs children.
h3 attrs children is equivalent to node "h3" attrs children.
h4 attrs children is equivalent to node "h4" attrs children.
h5 attrs children is equivalent to node "h5" attrs children.
h6 attrs children is equivalent to node "h6" attrs children.
div attrs children is equivalent to node "div" attrs children.
span attrs children is equivalent to node "span" attrs children.
pre attrs children is equivalent to node "pre" attrs children.
p attrs children is equivalent to node "p" attrs children.
button attrs children is equivalent to node "button" attrs children.
input attrs children is equivalent to node "input" attrs children.
label attrs children is equivalent to node "label" attrs children.
textarea attrs children is equivalent to node "textarea" attrs children.
select attrs children is equivalent to node "select" attrs children.
ol attrs children is equivalent to node "ol" attrs children.
ul attrs children is equivalent to node "ul" attrs children.
li attrs children is equivalent to node "li" attrs children.