SimpleHtml
kreuzberg.SimpleHtml
case class SimpleHtml(tag: String, attributes: Vector[(String, Option[String])], children: Vector[SimpleHtmlNode], comment: String) extends Html, SimpleHtmlNode
Trivial implementation of Html. Note: just implemented enough to get it barely working.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SimpleHtmlNodetrait Htmlclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Add some comment to the HTML Comment.
Add some comment to the HTML Comment.
Attributes
Append a child HTML Node.
Returns all embedded components within the HTML Code.
Returns all embedded components within the HTML Code.
Attributes
- Definition Classes
Serializes into a FlatHtmlBuilder.
Prepend a child Node.
Appends the data.id attribut to the HTML Code.
Inherited methods
Convert to a flat HTML representation.
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Render the HTML.
Render the HTML to a String.
In this article