Package

com.raquo.domtypes.generic

builders

Permalink

package builders

Visibility
  1. Public
  2. All

Type Members

  1. trait DerivedStylePropBuilder[T[_]] extends AnyRef

    Permalink

    This trait enables creation of derived style props, such as marginTop.px (accepting Int-s), from the original marginTop (accepting strings)

  2. trait EventPropBuilder[EP[Ev <: DomEvent], DomEvent] extends AnyRef

    Permalink

    This trait builds event prop objects which are typically found on the left hand side of the onEvent := callback syntax.

    This trait builds event prop objects which are typically found on the left hand side of the onEvent := callback syntax.

    EP

    EventProp

    DomEvent

    Base type for DOM events (dom.Event in Scala JS)

  3. trait HtmlAttrBuilder[A[_]] extends AnyRef

    Permalink

    This trait builds attribute objects which are typically found on the left hand side of the htmlAttr := value syntax.

    This trait builds attribute objects which are typically found on the left hand side of the htmlAttr := value syntax.

    A

    HTML Attribute

  4. trait HtmlTagBuilder[T[_ <: DomHtmlElement], -DomHtmlElement] extends AnyRef

    Permalink

    HtmlTagBuilder is a builder of HTML Tags, which themselves are builders of HTML Elements.

    HtmlTagBuilder is a builder of HTML Tags, which themselves are builders of HTML Elements. #factoryfactory

  5. trait PropBuilder[P[_, _]] extends AnyRef

    Permalink

    This trait builds objects representing properties, which are typically on the left hand side of the prop := value syntax.

    This trait builds objects representing properties, which are typically on the left hand side of the prop := value syntax.

    P

    DOM Property[ScalaValue, RawDomValue]

  6. trait ReflectedHtmlAttrBuilder[RA[_, _]] extends AnyRef

    Permalink

    This trait builds objects representing reflected attributes which are typically on the left hand side of the reflectedAttr := value syntax.

    This trait builds objects representing reflected attributes which are typically on the left hand side of the reflectedAttr := value syntax.

    Reflected attributes are explained in the README file.

    Also see com.raquo.domtypes.generic.defs.reflectedAttrs.ReflectedHtmlAttrs for a summary of reflected attributes. Basically it's a subset of HTML attributes that are fully mirrored as DOM properties, so typically you don't want to load both an attribute and a property of the same name.

    RA

    ReflectedAttribute[ScalaValue, PropRawDomValue], either a Prop or an HtmlAttr, depending on whether you want to build properties or attributes

  7. trait StylePropBuilder[Prop[_], Setter[_], DerivedProp[_], LengthNum] extends AnyRef

    Permalink

    This trait contains functionality for creating CSS Styles and Style Setters.

    This trait contains functionality for creating CSS Styles and Style Setters.

    Prop

    Representation of a DOM CSS style property, e.g. "background"

    Setter

    Representation of a key-value pair, for a specific style property and its value

  8. trait StyleStringValueBuilder[T] extends AnyRef

    Permalink
  9. trait SvgAttrBuilder[A[_]] extends AnyRef

    Permalink

    This trait builds attribute objects which are typically found on the left hand side of the svgAttr := value syntax.

    This trait builds attribute objects which are typically found on the left hand side of the svgAttr := value syntax.

    A

    SVG Attribute

  10. trait SvgTagBuilder[T[_ <: DomSvgElement], -DomSvgElement] extends AnyRef

    Permalink

    SvgTagBuilder is a builder of SVG Tags, which themselves are builders of SVG Elements.

    SvgTagBuilder is a builder of SVG Tags, which themselves are builders of SVG Elements. #factoryfactory

Ungrouped