SetAttr

io.eezo.live.Patch.SetAttr
final case class SetAttr(path: List[Int], expect: String, name: String, value: String)

Sets one attribute. value is the raw text (the DOM's setAttribute does not parse entities); a bare boolean attribute travels as the empty string, because the DOM cannot tell disabled from disabled="" and the differ does not pretend to.

Attributes

Source
Patch.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala