com.raquo.domtypes.generic.builders
Type members
Classlikes
This trait enables creation of derived style props, such as marginTop.px (accepting Int-s), from the original marginTop (accepting strings)
This trait enables creation of derived style props, such as marginTop.px (accepting Int-s), from the original marginTop (accepting strings)
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.
- Type parameters:
- DomEvent
Base type for DOM events (dom.Event in Scala JS)
- EP
EventProp
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.
- Type parameters:
- A
HTML Attribute
HtmlTagBuilder is a builder of HTML Tags, which themselves are builders of HTML Elements. #factoryfactory
HtmlTagBuilder is a builder of HTML Tags, which themselves are builders of HTML Elements. #factoryfactory
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.
- Type parameters:
- P
DOM Property[ScalaValue, RawDomValue]
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.
- Type parameters:
- RA
ReflectedAttribute[ScalaValue, PropRawDomValue], either a Prop or an HtmlAttr, depending on whether you want to build properties or attributes
This trait contains functionality for creating CSS Styles and Style Setters.
This trait contains functionality for creating CSS Styles and Style Setters.
- Type parameters:
- 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
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.
- Type parameters:
- A
SVG Attribute
SvgTagBuilder is a builder of SVG Tags, which themselves are builders of SVG Elements. #factoryfactory
SvgTagBuilder is a builder of SVG Tags, which themselves are builders of SVG Elements. #factoryfactory