Wraps up a HTML attribute in an untyped value with an associated type; the := operator takes Strings.
A key value pair representing the assignment of an attribute to a value.
Trait containing the contents of the Attrs module, so they can be mixed in to other objects if needed.
Represents a single CSS class.
Trait containing the contents of the DataConverters module, so it can be mixed in to other objects as needed.
Provides extension methods on strings to fit them into Scalatag fragments.
A single HTML tag.
Represents a value that can be nested within a Node.
A general interface for all XML types which can appear in a ScalaTags fragment.
A scalatags.Node which contains a String which will not be escaped.
Allows you to modify a HtmlTag by adding a Seq containing other nest-able objects to its list of children.
A which contains a String.
A Style that only has a fixed set of possible values, provided by its members.
A key value pair representing the assignment of a style to a value.
Trait that contains the contents of the Styles
object, so they can
be mixed in to other objects if needed.
Trait that contains the contents of the Tags
object, so they can be mixed
in to other objects if needed.
Wraps up a HTML attribute in a statically-typed value with an associated type; overloads the := operator to also accept values of that type to convert to strings, allowing more concise and pseudo-typesafe use of that attribute.
A Style that takes any value of type T as a parameter; overloads the := operator to also accept values of that type to convert to strings, allowing more concise and pseudo-typesafe use of that style.
A Style which does not have a particular type, and takes strings as its values
Module containing static bindings for common HTML attributes.
Module containing convenient ways of constructing CSS data types
Contains the trait and case class definitions for the most commonly used CSS data types.
Utility methods related to validating and escaping XML; used internally but potentially useful outside of Scalatags.
Module that contains bindings for commonly-used CSS styles.
Contains CSS styles which are used less frequently.
Contains CSS styles which are only used for SVG.
Contains Tags which are only used for SVG.
Module containing static definitions for common HTML5 tags.
Contains HTML tags which are used less frequently.
Convenience object to help import all Tags, Attrs, Styles and
Datatypes into the global namespace via import scalatags.all._
Mark the given string as "raw", meaning it will not get escaped when the Scalatags fragment is serialized.
Mark the given string as "raw", meaning it will not get escaped when the Scalatags fragment is serialized. This makes it easy to open up XSS holes and other vulnerabilities, but is sometimes necessary and useful.
Convenience object to help import all Tags, and DataConverters, while
aliases Attrs as attr
and Styles as css
.
Allows you to modify a HtmlTag by adding a String to its list of children
ScalaTags is a small XML/HTML construction library for Scala. See the Github page for an introduction and documentation.