scalatags

package scalatags

ScalaTags is a small XML/HTML construction library for Scala. See the Github page for an introduction and documentation.

Attributes

Members list

Packages

package scalatags.text
package scalatags.vdom

Type members

Classlikes

Module containing convenient ways of constructing CSS data types

Module containing convenient ways of constructing CSS data types

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Trait containing the contents of the DataConverters module, so it can be mixed in to other objects as needed.

Trait containing the contents of the DataConverters module, so it can be mixed in to other objects as needed.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DataConverters.type
object all.type
object implicits.type
object short.type
object all.type
object implicits.type
object short.type
Show all
object Escaping

Utility methods related to validating and escaping XML; used internally but potentially useful outside of Scalatags.

Utility methods related to validating and escaping XML; used internally but potentially useful outside of Scalatags.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Escaping.type
object Text extends Bundle[Builder, String, String], Aliases[Builder, String, String]

A Scalatags module that works with a text back-end, i.e. it creates HTML Strings.

A Scalatags module that works with a text back-end, i.e. it creates HTML Strings.

Attributes

Supertypes
trait Bundle[Builder, String, String]
trait Aliases[Builder, String, String]
class Object
trait Matchable
class Any
Self type
Text.type
trait VirtualDom[Output <: FragT, FragT] extends Bundle[Builder[Output, FragT], Output, FragT], 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 and rawToFrag factory to construct Frag, and a makeBuilder factory to construct Tags, 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.

Attributes

Supertypes
trait Bundle[Builder[Output, FragT], Output, FragT]
trait Aliases[Builder[Output, FragT], Output, FragT]
class Object
trait Matchable
class Any
object attrOrdering extends Ordering[Attr]

Attributes

Supertypes
trait Ordering[Attr]
trait PartialOrdering[Attr]
trait Equiv[Attr]
trait Serializable
trait Comparator[Attr]
class Object
trait Matchable
class Any
Show all
Self type
object styleOrdering extends Ordering[Style]

Attributes

Supertypes
trait Ordering[Style]
trait PartialOrdering[Style]
trait Equiv[Style]
trait Serializable
trait Comparator[Style]
class Object
trait Matchable
class Any
Show all
Self type