AttributeKey

zio.blocks.html.AttributeKey
final class AttributeKey(val attrName: String)

Key for single-valued HTML attributes. Use := to set the value.

Attributes

Source
AttributeKey.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def :=(value: String): Attribute

Attributes

Source
AttributeKey.scala
def :=(value: Int): Attribute

Attributes

Source
AttributeKey.scala
def :=(value: Long): Attribute

Attributes

Source
AttributeKey.scala
def :=(value: Double): Attribute

Attributes

Source
AttributeKey.scala
def :=(value: Boolean): Attribute

Attributes

Source
AttributeKey.scala
def :=(value: Js): Attribute

Attributes

Source
AttributeKey.scala
def :=(values: Chunk[String]): Attribute

Attributes

Source
AttributeKey.scala
def :=(value1: String, value2: String, rest: String*): Attribute

Attributes

Source
AttributeKey.scala
def withSeparator(values: Chunk[String], separator: AttributeSeparator): Attribute

Attributes

Source
AttributeKey.scala

Concrete fields

val attrName: String

Attributes

Source
AttributeKey.scala