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 jsdom
  3. package stylesheet
  4. package text
  5. package vdom

Type Members

  1. trait Companion[V] extends (String) => V
  2. trait DataConverters extends AnyRef

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

  3. trait LowPriorityImplicits extends AnyRef
  4. 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 JsDom extends Bundle[Element, Element, Node] with Aliases[Element, Element, Node]

    A Scalatags module that generates dom.Elements when the tags are rendered.

    A Scalatags module that generates dom.Elements when the tags are rendered. This provides some additional flexibility over the Text backend, as you can bind structured objects to the attributes of your dom.Element without serializing them first into strings.

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped