zio.http.template2

Package object for template2 providing all HTML elements and attributes. Users can import everything with: import zio.http.template2._

Attributes

Members list

Type members

Classlikes

sealed trait AttributeSeparator

Attribute separator types for multi-value attributes

Attribute separator types for multi-value attributes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Comma
class Custom
object Semicolon
object Space

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract case class Css(value: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Css

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Css.type

Trait providing CSS and selector string interpolation with compile-time validation.

Trait providing CSS and selector string interpolation with compile-time validation.

Attributes

Supertypes
class Object
trait Matchable
class Any

Macro implementations for CSS interpolation (Scala 3.x)

Macro implementations for CSS interpolation (Scala 3.x)

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait CssSelector
class And
class Attribute
class Child
class Class
class Descendant
class Element
class Id
class Not
class Or
class PseudoClass
class Raw
object Universal
trait Element
class Generic
class Script
class Style
Show all
Self type
object CssSelectable

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class And
class Attribute
class Child
class Class
class Descendant
class Element
class Id
class Not
class Or
class PseudoClass
class Raw
object Universal
Show all
object CssSelector

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Dom extends Modifier, Product, Serializable

Modern DOM library for ZIO HTTP inspired by Laminar and ScalaTags. Provides type-safe, composable, and transformable DOM trees.

Modern DOM library for ZIO HTTP inspired by Laminar and ScalaTags. Provides type-safe, composable, and transformable DOM trees.

Attributes

Companion
object
Supertypes
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Element
class Generic
class Script
class Style
object Empty
class Fragment
class RawHtml
class Text
Show all
Self type
Dom
object Dom

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Dom.type

Trait containing all HTML attribute definitions. This trait can be mixed into package objects or other contexts. Attributes are sorted alphabetically for easy maintenance.

Trait containing all HTML attribute definitions. This trait can be mixed into package objects or other contexts. Attributes are sorted alphabetically for easy maintenance.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait HtmlElements

Trait containing all HTML element definitions. This trait can be mixed into package objects or other contexts. Elements are sorted alphabetically for easy maintenance.

Trait containing all HTML element definitions. This trait can be mixed into package objects or other contexts. Elements are sorted alphabetically for easy maintenance.

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed abstract case class Js(value: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Js

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Js.type

Trait providing JavaScript string interpolation with compile-time validation.

Trait providing JavaScript string interpolation with compile-time validation.

Attributes

Supertypes
class Object
trait Matchable
class Any

Macro implementations for JavaScript interpolation (Scala 3.x)

Macro implementations for JavaScript interpolation (Scala 3.x)

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait Modifier extends Product, Serializable

Common trait for things that can be applied to elements (attributes and children)

Common trait for things that can be applied to elements (attributes and children)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Dom
trait Element
class Generic
class Script
class Style
object Empty
class Fragment
class RawHtml
class Text
trait Attribute
Show all
object Modifier

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Modifier.type

Value members

Inherited methods

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
def fragment(children: Dom*): Fragment

Attributes

Inherited from:
HtmlElements
def raw(content: String): RawHtml

Attributes

Inherited from:
HtmlElements
def text(content: String): Text

Attributes

Inherited from:
HtmlElements

Inherited fields

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val `var`: Element

Attributes

Inherited from:
HtmlElements
val a: Element

Attributes

Inherited from:
HtmlElements
val abbr: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val area: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val aside: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val audio: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val b: Element

Attributes

Inherited from:
HtmlElements
val base: Element

Attributes

Inherited from:
HtmlElements
val bdi: Element

Attributes

Inherited from:
HtmlElements
val bdo: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements
val body: Element

Attributes

Inherited from:
HtmlElements
val br: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val cite: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val code: Element

Attributes

Inherited from:
HtmlElements
val col: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val dd: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val del: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements
val dfn: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val div: Element

Attributes

Inherited from:
HtmlElements
val dl: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val dt: Element

Attributes

Inherited from:
HtmlElements
val em: Element

Attributes

Inherited from:
HtmlElements
val embed: Element

Attributes

Inherited from:
HtmlElements
val empty: Dom

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val form: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val h1: Element

Attributes

Inherited from:
HtmlElements
val h2: Element

Attributes

Inherited from:
HtmlElements
val h3: Element

Attributes

Inherited from:
HtmlElements
val h4: Element

Attributes

Inherited from:
HtmlElements
val h5: Element

Attributes

Inherited from:
HtmlElements
val h6: Element

Attributes

Inherited from:
HtmlElements
val head: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val hr: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val html: Element

Attributes

Inherited from:
HtmlElements
val i: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val img: Element

Attributes

Inherited from:
HtmlElements
val input: Element

Attributes

Inherited from:
HtmlElements
val ins: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val kbd: Element

Attributes

Inherited from:
HtmlElements
val label: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val li: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val main: Element

Attributes

Inherited from:
HtmlElements
val map: Element

Attributes

Inherited from:
HtmlElements
val mark: Element

Attributes

Inherited from:
HtmlElements
val math: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val meta: Element

Attributes

Inherited from:
HtmlElements
val meter: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val ol: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements
val p: Element

Attributes

Inherited from:
HtmlElements
val param: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val pre: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val q: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val rp: Element

Attributes

Inherited from:
HtmlElements
val rt: Element

Attributes

Inherited from:
HtmlElements
val ruby: Element

Attributes

Inherited from:
HtmlElements
val s: Element

Attributes

Inherited from:
HtmlElements
val samp: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val script: Script

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes
val slot: Element

Attributes

Inherited from:
HtmlElements
val small: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements
val span: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlElements
val style: Style

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val sub: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements
val sup: Element

Attributes

Inherited from:
HtmlElements
val svg: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val table: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val tbody: Element

Attributes

Inherited from:
HtmlElements
val td: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlElements
val tfoot: Element

Attributes

Inherited from:
HtmlElements
val th: Element

Attributes

Inherited from:
HtmlElements
val thead: Element

Attributes

Inherited from:
HtmlElements
val time: Element

Attributes

Inherited from:
HtmlElements
val title: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val tr: Element

Attributes

Inherited from:
HtmlElements
val track: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val u: Element

Attributes

Inherited from:
HtmlElements
val ul: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes
val video: Element

Attributes

Inherited from:
HtmlElements
val wbr: Element

Attributes

Inherited from:
HtmlElements

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Attributes

Inherited from:
HtmlAttributes

Extensions

Inherited extensions

extension (inline sc: StringContext)
inline def css(inline args: Any*): Css

CSS string interpolator that validates CSS syntax at compile time.

CSS string interpolator that validates CSS syntax at compile time.

Attributes

Inherited from:
CssInterpolator
inline def selector(inline args: Any*): CssSelector

CSS string interpolator that validates CSS syntax at compile time.

CSS string interpolator that validates CSS syntax at compile time.

Attributes

Inherited from:
CssInterpolator
extension (inline sc: StringContext)
inline def js(inline args: Any*): Js

JavaScript string interpolator that validates JavaScript syntax at compile time.

JavaScript string interpolator that validates JavaScript syntax at compile time.

Attributes

Inherited from:
JsInterpolator

Implicits

Implicits

implicit def itrToModifier(seq: Iterable[Dom]): Modifier
implicit def optToModifier(opt: Option[Modifier]): Modifier
implicit def stringToModifier(s: String): Modifier

Inherited implicits

implicit def optStrToDom(opt: Option[String]): Dom

Attributes

Inherited from:
LowPriorityTemplateImplicits (hidden)
implicit def stringToDom(s: String): Dom

Attributes

Inherited from:
LowPriorityTemplateImplicits (hidden)