Packages

p

scalatags

package scalatags

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scalatags
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package generic
  2. package stylesheet
  3. package text
  4. package vdom

Type Members

  1. trait DataConverters extends AnyRef

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

  2. 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 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.

Value Members

  1. object DataConverters extends DataConverters

    Module containing convenient ways of constructing CSS data types

  2. object Escaping

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

  3. 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 Strings.

  4. implicit object attrOrdering extends Ordering[Attr]
  5. implicit object styleOrdering extends Ordering[Style]

Inherited from AnyRef

Inherited from Any

Ungrouped