The name of the tag
A backwards list of child-nodes; kept this way for fast updates, and reversed before being rendered.
A sorted map of attributes
Whether or not the tag can be self-closing
Add the given modifications (e.
Add the given modifications (e.g. additional children, or new attributes) to the HtmlTag.
A sorted map of attributes
A backwards list of child-nodes; kept this way for fast updates, and reversed before being rendered.
Represents the list of CSS classes this HtmlTag contains; lazily derived
from attrs
.
Represents the list of CSS styles this HtmlTag contains; lazily derived
from attrs
.
The name of the tag
Converts an ScalaTag fragment into an html string
Converts an ScalaTag fragment into an html string
Transforms the tag and returns a new one.
Whether or not the tag can be self-closing
Serialize this HtmlTag and all its children out to the given StringBuilder.
Serialize this HtmlTag and all its children out to the given StringBuilder.
A single HTML tag.
The name of the tag
A backwards list of child-nodes; kept this way for fast updates, and reversed before being rendered.
A sorted map of attributes
Whether or not the tag can be self-closing