Dom

zio.http.template2.Dom
See theDom companion trait
object Dom

Attributes

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

Members list

Type members

Classlikes

sealed trait Attribute extends Modifier

Attributes

Source
Dom.scala
Supertypes
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Source
Dom.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait AttributeValue extends Product, Serializable

Attributes

Companion
object
Source
Dom.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BooleanValue
class JsValue
class MultiValue
class StringValue
final case class BooleanAttribute(name: String, enabled: Boolean = ...) extends Attribute

Boolean attribute (like disabled, checked, etc.)

Boolean attribute (like disabled, checked, etc.)

Attributes

Source
Dom.scala
Supertypes
trait Attribute
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class CompleteAttribute(name: String, value: AttributeValue) extends Attribute, CssSelectable

Complete attribute with name and value

Complete attribute with name and value

Attributes

Source
Dom.scala
Supertypes
trait Attribute
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Element

Attributes

Companion
trait
Source
Dom.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Element.type
sealed trait Element extends Dom, CssSelectable

Attributes

Companion
object
Source
Dom.scala
Supertypes
trait Dom
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Generic
class Script
class Style
case object Empty extends Dom

Attributes

Source
Dom.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Dom
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Empty.type
final case class Fragment(children: Iterable[Dom]) extends Dom

Attributes

Source
Dom.scala
Supertypes
trait Dom
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PartialAttribute(name: String)

Partial attribute that needs a value (like href := "...")

Partial attribute that needs a value (like href := "...")

Attributes

Source
Dom.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class PartialMultiAttribute(name: String, separator: AttributeSeparator = ...)

Partial multi-value attribute that needs values (like class := ("foo", "bar"))

Partial multi-value attribute that needs values (like class := ("foo", "bar"))

Attributes

Source
Dom.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class RawHtml(content: String) extends Dom

Attributes

Source
Dom.scala
Supertypes
trait Dom
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Text(content: String) extends Dom

Attributes

Source
Dom.scala
Supertypes
trait Dom
trait Modifier
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Attributes

Source
Dom.scala

Attributes

Source
Dom.scala
def attr(name: String, value: String): CompleteAttribute

Attributes

Source
Dom.scala
def boolAttr(name: String, enabled: Boolean = ...): BooleanAttribute

Attributes

Source
Dom.scala
def element(tag: String): Generic

Attributes

Source
Dom.scala
def empty: Dom

Attributes

Source
Dom.scala
def fragment(children: Dom*): Fragment

Attributes

Source
Dom.scala

Attributes

Source
Dom.scala

Attributes

Source
Dom.scala
def multiAttr(name: String, values: Iterable[String], separator: AttributeSeparator = ...): CompleteAttribute

Attributes

Source
Dom.scala
def multiAttr(name: String, separator: AttributeSeparator, values: String*): CompleteAttribute

Attributes

Source
Dom.scala
def raw(content: String): RawHtml

Attributes

Source
Dom.scala
def text(content: String): Text

Attributes

Source
Dom.scala

Concrete fields

val script: Script

Attributes

Source
Dom.scala
val style: Style

Attributes

Source
Dom.scala

Implicits

Implicits

implicit val htmlCodec: HttpContentCodec[Dom]

Attributes

Source
Dom.scala
implicit val schema: Schema[Dom]

Attributes

Source
Dom.scala