Package

com.raquo.domtypes.generic

keys

Permalink

package keys

Visibility
  1. Public
  2. All

Type Members

  1. class Attr[V] extends Key

    Permalink

    This class represents an HTML Element Attribute.

    This class represents an HTML Element Attribute. Meaning the key that can be set, not the whole a key-value pair.

    V

    type of values that this Attribute can be set to

  2. class EventProp[Ev] extends Key

    Permalink

    This class represents an HTML Element Event Property.

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

    An example would be an "onclick" property.

    Ev

    type of DOM Events that the event handler callback for this event prop accepts

  3. abstract class Key extends AnyRef

    Permalink

    This class represents a Key typically found on the left hand side of the key-value pair key := value

    This class represents a Key typically found on the left hand side of the key-value pair key := value

    Example would be a particular Attribute or a Property (without the corresponding value), e.g. "href"

  4. class Prop[V, DomV] extends Key

    Permalink

    This class represents a DOM Element Property.

    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.

    V

    type of values that this Property can be set to

    DomV

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

  5. class Style[V] extends Key

    Permalink

    This class represents a CSS Style property.

    This class represents a CSS Style property. Meaning the key that can be set, not a key-value pair.

    V

    type of values that this CSS property can be set to (in addition to String, which is a sort of an escape hatch)

Ungrouped