AttrName

io.eezo.core.html.AttrName
sealed class AttrName(val name: String)

An attribute name, waiting for its value.

sealed rather than final so that UrlAttrName can add the one arm the url bearing names need, and no view file can invent a fourth kind of attribute name from outside this file.

Attributes

Source
Tag.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class UrlAttrName

Members list

Value members

Concrete methods

def :=(value: String): Attr

Attributes

Source
Tag.scala
def :=(value: Int): Attr

Attributes

Source
Tag.scala
def :=(value: Boolean): Iterable[Attr]

A present attribute is the truth, so true renders the bare name and false renders nothing at all. The Iterable arm of Mod absorbs both, which is why a conditional attribute needs no helper of its own.

A present attribute is the truth, so true renders the bare name and false renders nothing at all. The Iterable arm of Mod absorbs both, which is why a conditional attribute needs no helper of its own.

Attributes

Source
Tag.scala

Concrete fields

val name: String

Attributes

Source
Tag.scala