View Source Slime.Parser.Nodes.HTMLNode (slime v1.3.1)
An HTML node.
- :name — tag name,
- :attributes — a list of {"name", :v} tuples, where :v is either a string or an {:eex, "content"} tuple,
- :spaces — tag whitespace, represented as a keyword list of boolean values for :leading and :trailing,
- :closed — the presence of a trailing "/", which explicitly closes the tag,
- :children — a list of nodes.