scalatags
package scalatags
ScalaTags is a small XML/HTML construction library for Scala. See the Github page for an introduction and documentation.
- Alphabetic
- By Inheritance
- scalatags
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait DataConverters extends AnyRef
Trait containing the contents of the DataConverters module, so it can be mixed in to other objects as needed.
- trait VirtualDom[Output <: FragT, FragT] extends Bundle[Builder[Output, FragT], Output, FragT] with Aliases[Builder[Output, FragT], Output, FragT]
A Scalatags module that can be configured to construct arbitrary virtual DOM fragments of uniform type
A Scalatags module that can be configured to construct arbitrary virtual DOM fragments of uniform type
Simply instantiate it with
stringToFrag
andrawToFrag
factory to constructFrag
, and amakeBuilder
factory to constructTag
s, and you can then use it to instantiate any sort of virtual DOM of uniform type: scala.xml trees, Preact/React VDOM nodes in the browser, etc.
Value Members
- object DataConverters extends DataConverters
Module containing convenient ways of constructing CSS data types
- object Escaping
Utility methods related to validating and escaping XML; used internally but potentially useful outside of Scalatags.
- object Text extends Bundle[Builder, String, String] with Aliases[Builder, String, String]
A Scalatags module that works with a text back-end, i.e.
A Scalatags module that works with a text back-end, i.e. it creates HTML
String
s. - implicit object attrOrdering extends Ordering[Attr]
- implicit object styleOrdering extends Ordering[Style]