Prop

class Prop[V, DomV](val name: String, val codec: Codec[V, DomV]) extends Key

This class represents a DOM Element Property. Meaning the key that can be set, not a key-value pair.

This class represents a DOM Element Property. Meaning the key that can be set, not a key-value pair.

Note: following the Javascript DOM Spec, Properties are distinct from Attributes even when they share a name.

Type Params
DomV

type of values that this Property holds in the native Javascript DOM

V

type of values that this Property can be set to

class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

val codec: Codec[V, DomV]
override val name: String