Attribute

tyrian.Attribute
See theAttribute companion object
final case class Attribute(name: String, value: String) extends Attr[Nothing]

Attribute of an HTML tag

Attributes are like properties, but can be removed. This is important for attributes like disabled, hidden, selected where there is no value, they are present and therefore set, or absent and unset.

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Attr[Nothing]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def map[N](f: Nothing => N): Attribute

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product