dsl

object dsl extends Attributes with Tags with Styles
trait Styles
trait StyleBuilders[Style]
trait Styles[Style]
trait StylesMisc[Style]
trait Tags
trait EmbedTagDeprecations[HtmlTag]
trait SvgTagBuilder[SvgTag, Element]
trait HtmlTagBuilder[HtmlTag, Element]
trait TableTags[HtmlTag, Element, Table, TableCaption, TableCol, TableSection, TableRow, TableCell]
trait SectionTags[HtmlTag, Element, Body, Element, Heading]
trait FormTags[HtmlTag, Element, Form, FieldSet, Legend, Label, Input, Button, Select, DataList, OptGroup, Option, TextArea]
trait TextTags[HtmlTag, Element, Anchor, Element, Span, BR, Mod]
trait GroupingTags[HtmlTag, Element, Paragraph, HR, Pre, Quote, OList, UList, LI, DList, Element, Div]
trait EmbedTags[HtmlTag, Element, Image, IFrame, Embed, Object, Param, Video, Audio, Source, Track, Canvas, Map, Area]
trait Events
trait EventPropBuilder[EventEmitter, Event]
trait HTMLElementEventProps[EventEmitter]
trait ClipboardEventProps[EventEmitter, Event, ClipboardEvent]
trait ElementEventProps[EventEmitter]
trait GlobalEventProps[EventEmitter]
trait PointerEventProps[EventEmitter, Event, PointerEvent, TypedTargetPointerEvent[Element]]
trait MouseEventProps[EventEmitter, Event, MouseEvent, TypedTargetMouseEvent[Element], DragEvent]
trait MiscellaneousEventProps[EventEmitter, Event, AnimationEvent, TransitionEvent, UIEvent]
trait MediaEventProps[EventEmitter, Event]
trait KeyboardEventProps[EventEmitter, Event, KeyboardEvent]
trait FormEventProps[EventEmitter, Event, TypedTargetFocusEvent[Element], Event, TypedTargetEvent[Element], TypedTargetEvent[Element], TypedTargetEvent[Form], TypedTargetEvent[Input]]
trait ErrorEventProps[EventEmitter, Event, ErrorEvent]
trait HtmlAttrs
trait PropBuilder[Property]
trait ReflectedHtmlAttrBuilder[ReflectedAttribute]
trait HtmlAttrBuilder[Attribute]
trait CanonicalComplexHtmlKeys[ReflectedAttribute, Attribute, Property]
trait ComplexHtmlKeys[ReflectedAttribute[String, String], ReflectedAttribute[String, String], ReflectedAttribute[String, String], Attribute[String], Attribute[String], Property[String, String]]
trait Props[Property]
trait ReflectedHtmlAttrs[ReflectedAttribute]
trait HtmlAttrs[Attribute]
class Object
trait Matchable
class Any
dsl.type

Type members

Classlikes

object attributes extends Attributes
object events
object styles extends Styles
object svg extends SvgAttrs with SvgTags
object tags extends Tags

Inherited classlikes

class AutoStyle[V](name: String) extends Style[V]

A Style that takes any value of type T as a parameter and has an auto value

A Style that takes any value of type T as a parameter and has an auto value

Inherited from:
StylesMisc
class BorderRadius(name: String) extends Style[String]
Inherited from:
StylesMisc
class BorderStyle(name: String) extends OutlineStyle
Inherited from:
StylesMisc
class BorderWidth(name: String) extends Style[String]
Inherited from:
StylesMisc
trait MarginAuto extends Style[String]
Inherited from:
StylesMisc
class MaxLengthStyle(name: String) extends Style[String]
Inherited from:
StylesMisc
class MinLengthStyle(name: String) extends AutoStyle[String]
Inherited from:
StylesMisc
class MultiImageStyle(name: String) extends Style[String]
Inherited from:
StylesMisc
class MultiTimeStyle(name: String) extends Style[String]
Inherited from:
StylesMisc
class NoneOpenStyle[V](name: String) extends Style[V]

A Style that takes any value of type T as a parameter and has an none value

A Style that takes any value of type T as a parameter and has an none value

Inherited from:
StylesMisc
class NormalOpenStyle[V](name: String) extends Style[V]

A Style that takes any value of type T as a parameter and has an normal value

A Style that takes any value of type T as a parameter and has an normal value

Inherited from:
StylesMisc
class OutlineStyle(name: String) extends Style[String]
Inherited from:
StylesMisc
class Overflow(name: String) extends Style[String]
Inherited from:
StylesMisc
class OverflowWrap(name: String) extends Style[String]
Inherited from:
Styles
class PageBreak(name: String) extends Style[String]
Inherited from:
StylesMisc
trait TextAlign extends Style[String]
Inherited from:
Styles
object alignContent extends Style[String]

The CSS align-content property aligns a flex container's lines within the flex container when there is extra space on the cross-axis. This property has no effect on single line flexible boxes.

The CSS align-content property aligns a flex container's lines within the flex container when there is extra space on the cross-axis. This property has no effect on single line flexible boxes.

MDN

Inherited from:
Styles
object alignItems extends Style[String]

The CSS align-items property aligns flex items of the current flex line the same way as justify-content but in the perpendicular direction.

The CSS align-items property aligns flex items of the current flex line the same way as justify-content but in the perpendicular direction.

MDN

Inherited from:
Styles
object alignSelf extends Style[String]

The align-self CSS property aligns flex items of the current flex line overriding the align-items value. If any of the flex item's cross-axis margin is set to auto, then align-self is ignored.

The align-self CSS property aligns flex items of the current flex line overriding the align-items value. If any of the flex item's cross-axis margin is set to auto, then align-self is ignored.

MDN

Inherited from:
Styles
object backgroundAttachment extends Style[String]

If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block.

If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block.

MDN

Inherited from:
Styles
object backgroundClip extends Style[String]

The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.

The background-clip CSS property specifies whether an element's background, either the color or image, extends underneath its border.

If there is no background image, this property has only visual effect when the border has transparent regions (because of border-style) or partially opaque regions; otherwise the border covers up the difference.

MDN

Inherited from:
Styles
object backgroundOrigin extends Style[String]

The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.

The background-origin CSS property determines the background positioning area, that is the position of the origin of an image specified using the background-image CSS property.

Note that background-origin is ignored when background-attachment is fixed.

MDN

Inherited from:
Styles
object backgroundSize extends Style[String]

The background-size CSS property specifies the size of the background images. The size of the image can be fully constrained or only partially in order to preserve its intrinsic ratio.

The background-size CSS property specifies the size of the background images. The size of the image can be fully constrained or only partially in order to preserve its intrinsic ratio.

MDN

Inherited from:
Styles
object borderCollapse extends Style[String]

The border-collapse CSS property selects a table's border model. This has a big influence on the look and style of the table cells.

The border-collapse CSS property selects a table's border model. This has a big influence on the look and style of the table cells.

MDN

Inherited from:
Styles
object borderSpacing extends Style[String]

The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model). This is equivalent to the cellspacing attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing.

The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model). This is equivalent to the cellspacing attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing.

MDN

Inherited from:
Styles
object boxSizing extends Style[String]

The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements. It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification.

The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements. It is possible to use this property to emulate the behavior of browsers that do not correctly support the CSS box model specification.

MDN

Inherited from:
Styles
object captionSide extends Style[String]

The caption-side CSS property positions the content of a table's caption on the specified side.

The caption-side CSS property positions the content of a table's caption on the specified side.

MDN

Inherited from:
Styles
object clear extends Style[String]

The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.

The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.

The clear property applies to both floating and non-floating elements.

MDN

Inherited from:
Styles
object clip extends AutoStyle[String]

The clip CSS property defines what portion of an element is visible. The clip property applies only to elements with position:absolute.

The clip CSS property defines what portion of an element is visible. The clip property applies only to elements with position:absolute.

MDN

Inherited from:
Styles
object color extends Style[String]

The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons and its appearance in CSS Level 1.

The CSS color property sets the foreground color of an element's text content, and its decorations. It doesn't affect any other characteristic of the element; it should really be called text-color and would have been named so, save for historical reasons and its appearance in CSS Level 1.

MDN

Inherited from:
Styles
object cursor extends Style[String]

The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.

The cursor CSS property specifies the mouse cursor displayed when the mouse pointer is over an element.

MDN

Inherited from:
Styles
object direction extends Style[String]

Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts. This is typically done as part of the document (e.g., using the dir attribute in HTML) rather than through direct use of CSS.

Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts. This is typically done as part of the document (e.g., using the dir attribute in HTML) rather than through direct use of CSS.

The property sets the base text direction of block-level elements and the direction of embeddings created by the unicode-bidi property. It also sets the default alignment of text and block-level elements and the direction that cells flow within a table row.

Unlike the dir attribute in HTML, the direction property is not inherited from table columns into table cells, since CSS inheritance follows the document tree, and table cells are inside of the rows but not inside of the columns.

The direction and unicode-bidi properties are the two only properties which are not affected by the all shorthand.

MDN

Inherited from:
Styles
object display extends Style[String]

The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.

The display CSS property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.

In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn't exist in the document tree.

MDN

Inherited from:
Styles
object emptyCells extends Style[String]

he empty-cells CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content.

he empty-cells CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content.

MDN

Inherited from:
Styles
object flexDirection extends Style[String]

The CSS flex-direction property specifies how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).

The CSS flex-direction property specifies how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).

Note that the value row and row-reverse are affected by the directionality of the flex container. If its dir attribute is ltr, row represents the horizontal axis oriented from the left to the right, and row-reverse from the right to the left; if the dir attribute is rtl, row represents the axis oriented from the right to the left, and row-reverse from the left to the right.

MDN

Inherited from:
Styles
object flexWrap extends Style[String]

The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines.

The CSS flex-wrap property specifies whether the children are forced into a single line or if the items can be flowed on multiple lines.

MDN

Inherited from:
Styles
object float extends Style[String]

The float CSS property specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it. A floating element is one where the computed value of float is not none.

The float CSS property specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it. A floating element is one where the computed value of float is not none.

MDN

Inherited from:
Styles
object fontSize extends Style[String]

The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font. Setting the font size may, in turn, change the size of other items, since it is used to compute the value of em and ex Length units.

The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font. Setting the font size may, in turn, change the size of other items, since it is used to compute the value of em and ex Length units.

MDN

Inherited from:
Styles
object fontStyle extends Style[String]

The font-style CSS property allows italic or oblique faces to be selected within a font-family.

The font-style CSS property allows italic or oblique faces to be selected within a font-family.

MDN

Inherited from:
Styles
object fontWeight extends Style[Int]

The font-weight CSS property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on normal and bold.

The font-weight CSS property specifies the weight or boldness of the font. However, some fonts are not available in all weights; some are available only on normal and bold.

Numeric font weights for fonts that provide more than just normal and bold. If the exact weight given is unavailable, then 600-900 use the closest available darker weight (or, if there is none, the closest available lighter weight), and 100-500 use the closest available lighter weight (or, if there is none, the closest available darker weight). This means that for fonts that provide only normal and bold, 100-500 are normal, and 600-900 are bold.

MDN

Inherited from:
Styles
object justifyContent extends Style[String]

The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line. The alignment is done after the lengths and auto margins are applied, meaning that, if there is at least one flexible element, with flex-grow different than 0, it will have no effect as there won't be any available space.

The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line. The alignment is done after the lengths and auto margins are applied, meaning that, if there is at least one flexible element, with flex-grow different than 0, it will have no effect as there won't be any available space.

MDN

Inherited from:
Styles
object listStyleImage extends Style[String]

The list-style-image CSS property sets the image that will be used as the list item marker. It is often more convenient to use the shorthand list-style.

The list-style-image CSS property sets the image that will be used as the list item marker. It is often more convenient to use the shorthand list-style.

MDN

Inherited from:
Styles
object listStylePosition extends Style[String]

The list-style-position CSS property specifies the position of the marker box in the principal block box. It is often more convenient to use the shortcut list-style.

The list-style-position CSS property specifies the position of the marker box in the principal block box. It is often more convenient to use the shortcut list-style.

MDN

Inherited from:
Styles
object listStyleType extends Style[String]

The list-style-type CSS property specifies appearance of a list item element. As it is the only one who defaults to display:list-item, this is usually a li element, but can be any element with this display value.

The list-style-type CSS property specifies appearance of a list item element. As it is the only one who defaults to display:list-item, this is usually a li element, but can be any element with this display value.

MDN

Inherited from:
Styles
object margin extends Style[String]

The margin CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties: margin-top, margin-right, margin-bottom and margin-left.

The margin CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties: margin-top, margin-right, margin-bottom and margin-left.

Negative values are also allowed.

MDN

Inherited from:
Styles
object mask extends Style[String]

If the value is a URI value, the element pointed to by the URI is used as an SVG mask.

If the value is a URI value, the element pointed to by the URI is used as an SVG mask.

MDN

Inherited from:
Styles
object outlineColor extends Style[String]

The outline-color CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

The outline-color CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

MDN

Inherited from:
Styles
object outlineWidth extends Style[String]

The outline-width CSS property is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

The outline-width CSS property is used to set the width of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

MDN

Inherited from:
Styles
object overflow extends Overflow

The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element.

The overflow CSS property specifies whether to clip content, render scroll bars or display overflow content of a block-level element.

MDN

Inherited from:
Styles
object pointerEvents extends Style[String]

The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content.

The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content.

In addition to indicating that the element is not the target of mouse events, the value none instructs the mouse event to go "through" the element and target whatever is "underneath" that element instead.

MDN

Inherited from:
Styles
object position extends Style[String]

The position CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects.

The position CSS property chooses alternative rules for positioning elements, designed to be useful for scripted animation effects.

MDN

Inherited from:
Styles
object quotes extends Style[String]
Inherited from:
Styles
object tableLayout extends Style[String]
Inherited from:
Styles
object textDecoration extends Style[String]

The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink.

The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink.

MDN

Inherited from:
Styles
object textOverflow extends Style[String]

The text-overflow CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, or display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string.

The text-overflow CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, or display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string.

MDN

Inherited from:
Styles
object textTransform extends Style[String]

The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.

The text-transform CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.

MDN

Inherited from:
Styles
object textUnderlinePosition extends Style[String]

The CSS text-underline-position property specifies the position of the underline which is set using the text-decoration property underline value.

The CSS text-underline-position property specifies the position of the underline which is set using the text-decoration property underline value.

This property inherits and is not reset by the text-decoration shorthand, allowing to easily set it globally for a given document.

MDN

Inherited from:
Styles
object verticalAlign extends Style[String]

The vertical-align CSS property specifies the vertical alignment of an inline or table-cell box.

The vertical-align CSS property specifies the vertical alignment of an inline or table-cell box.

MDN

Inherited from:
Styles
object visibility extends Style[String]
Inherited from:
Styles
object whiteSpace extends Style[String]

The white-space CSS property is used to to describe how whitespace inside the element is handled.

The white-space CSS property is used to to describe how whitespace inside the element is handled.

MDN

Inherited from:
Styles

Value members

Inherited methods

@inline
final def `class`: AccumAttrBuilder[String]
Inherited from:
AttributeHelpers
@inline
final def `for`: ReflectedAttribute[String, String]
Inherited from:
AttributeHelpers
@inline
final def aria: DynamicAttrBuilder[Any]
Inherited from:
AttributeHelpers
@inline
protected def booleanReflectedAttr(key: String, attrCodec: Codec[Boolean, String]): ReflectedAttribute[Boolean, Boolean]
Inherited from:
ReflectedHtmlAttrBuilder
@inline
protected def booleanReflectedAttr(attrKey: String, propKey: String, attrCodec: Codec[Boolean, String]): ReflectedAttribute[Boolean, Boolean]
Inherited from:
ReflectedHtmlAttrBuilder
final override protected def buildDoubleStyleSetter(style: Style[Double], value: Double): Style
Definition Classes
SimpleStyleBuilder -> StyleBuilders
Inherited from:
SimpleStyleBuilder
final override protected def buildIntStyleSetter(style: Style[Int], value: Int): Style
Definition Classes
SimpleStyleBuilder -> StyleBuilders
Inherited from:
SimpleStyleBuilder
final override protected def buildStringStyleSetter(style: Style[_], value: String): Style
Definition Classes
SimpleStyleBuilder -> StyleBuilders
Inherited from:
SimpleStyleBuilder
@inline
final def data: DynamicAttrBuilder[Any]
Inherited from:
AttributeHelpers
override def dataAttr(suffix: String): Attribute[String]
Definition Classes
CanonicalComplexHtmlKeys -> ComplexHtmlKeys
Inherited from:
CanonicalComplexHtmlKeys
@inline
protected def doubleHtmlAttr(key: String): Attribute[Double]
Inherited from:
HtmlAttrBuilder
@inline
protected def doubleProp(key: String): Property[Double, Double]
Inherited from:
PropBuilder
@inline
protected def doubleReflectedAttr(key: String): ReflectedAttribute[Double, Double]
Inherited from:
ReflectedHtmlAttrBuilder
final override def eventProp[V <: Event](key: String): EventEmitter[V]
Definition Classes
Events -> EventPropBuilder
Inherited from:
Events
final override protected def htmlAttr[V](key: String, codec: Codec[V, String]): BasicAttrBuilder[V]
Definition Classes
HtmlAttrs -> HtmlAttrBuilder
Inherited from:
HtmlAttrs
@inline
override protected def htmlTag[Ref <: Element](tagName: String, void: Boolean): HtmlVNode
Definition Classes
TagBuilder -> HtmlTagBuilder
Inherited from:
TagBuilder
@inline
protected def htmlTag[Ref <: Element](tagName: String): HtmlTag[Ref]
Inherited from:
HtmlTagBuilder
@inline
protected def intHtmlAttr(key: String): Attribute[Int]
Inherited from:
HtmlAttrBuilder
@inline
protected def intProp(key: String): Property[Int, Int]
Inherited from:
PropBuilder
@inline
protected def intReflectedAttr(key: String): ReflectedAttribute[Int, Int]
Inherited from:
ReflectedHtmlAttrBuilder
@inline
protected def intReflectedAttr(attrKey: String, propKey: String): ReflectedAttribute[Int, Int]
Inherited from:
ReflectedHtmlAttrBuilder
@inline
final def key: KeyBuilder.type

Snabbdom Key Attribute

Snabbdom Key Attribute

Inherited from:
OutwatchAttributes
final override protected def prop[V, DomV](key: String, codec: Codec[V, DomV]): PropBuilder[V]
Definition Classes
HtmlAttrs -> PropBuilder
Inherited from:
HtmlAttrs
final override protected def reflectedAttr[V, DomPropV](attrKey: String, propKey: String, attrCodec: Codec[V, String], propCodec: Codec[V, DomPropV]): BasicAttrBuilder[V]
Definition Classes
HtmlAttrs -> ReflectedHtmlAttrBuilder
Inherited from:
HtmlAttrs
@inline
protected def stringHtmlAttr(key: String): Attribute[String]
Inherited from:
HtmlAttrBuilder
@inline
protected def stringProp(key: String): Property[String, String]
Inherited from:
PropBuilder
@inline
protected def stringReflectedAttr(key: String): ReflectedAttribute[String, String]
Inherited from:
ReflectedHtmlAttrBuilder
@inline
protected def stringReflectedAttr(attrKey: String, propKey: String): ReflectedAttribute[String, String]
Inherited from:
ReflectedHtmlAttrBuilder
@inline
protected def style[V](key: String): Style[V]
Inherited from:
StyleBuilders
@inline
override protected def svgTag[Ref <: Element](tagName: String, void: Boolean): SvgVNode
Definition Classes
TagBuilder -> SvgTagBuilder
Inherited from:
TagBuilder
@inline
protected def svgTag[Ref <: Element](tagName: String): SvgTag[Ref]
Inherited from:
SvgTagBuilder

Deprecated and Inherited methods

@deprecated("removed to free up name for use in local variables, use objectTag instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def `object`: HtmlTag[Object]
Deprecated
Inherited from:
EmbedTagDeprecations
@deprecated("use VModifier.attr instead", "0.11.0") @inline
final def attr[T](key: String, convert: T => Value): BasicAttrBuilder[T]
Deprecated
Inherited from:
AttributeHelpers
@deprecated("use colibri.Cancelable instead", "0.11.0") @inline
final def cancelable(cancel: () => Unit): Cancelable
Deprecated
Inherited from:
AttributeHelpers
@deprecated("use EmitterBuilder.fromSource instead", "0.11.0") @inline
final def emitter[F[_] : Source, E](source: F[E]): EmitterBuilder[E, VModifier]
Deprecated
Inherited from:
AttributeHelpers
@deprecated("use VNode.html instead", "0.11.0") @inline
final def htmlTag(name: String): HtmlVNode
Deprecated
Inherited from:
TagHelpers
@deprecated("removed to free up name for use in local variables, use idAttr instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def id: ReflectedAttribute[String, String]
Deprecated
Inherited from:
HtmlAttributeDeprecations
@deprecated("removed to free up name for use in local variables, use mapTag instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def map: HtmlTag[Map]
Deprecated
Inherited from:
EmbedTagDeprecations
@deprecated("removed to free up name for use in local variables, use maxAttr instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def max: Attribute[String]
Deprecated
Inherited from:
HtmlAttributeDeprecations
@deprecated("removed to free up name for use in local variables, use minAttr instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def min: Attribute[String]
Deprecated
Inherited from:
HtmlAttributeDeprecations
@deprecated("removed to free up name for use in local variables, use paramTag instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def param: HtmlTag[Param]
Deprecated
Inherited from:
EmbedTagDeprecations
@deprecated("use VModifier.prop instead", "0.11.0") @inline
final def prop[T](key: String, convert: T => Value): PropBuilder[T]
Deprecated
Inherited from:
AttributeHelpers
@deprecated("removed to free up name for use in local variables, use stepAttr instead", "scala-dom-types: 0.10.0; outwatch: 1.0.0") @inline
final def step: Attribute[String]
Deprecated
Inherited from:
HtmlAttributeDeprecations
@deprecated("use VModifier.style instead", "0.11.0") @inline
final def style[T](key: String, dummy: Unit): BasicStyleBuilder[T]
Deprecated
Inherited from:
AttributeHelpers
@deprecated("use VNode.svg instead", "0.11.0") @inline
final def svgTag(name: String): SvgVNode
Deprecated
Inherited from:
TagHelpers

Inherited fields

lazy val `type`: Attribute[String]

This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format. You can use tpe as an alias for this attribute so you don't have to backtick-escape this attribute.

This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as text/html, text/css, and so on. The common use of this attribute is to define the type of style sheet linked and the most common current value is text/css, which indicates a Cascading Style Sheet format. You can use tpe as an alias for this attribute so you don't have to backtick-escape this attribute.

MDN

Inherited from:
HtmlAttrs
lazy val a: HtmlTag[Anchor]

Represents a hyperlink, linking to another resource.

Represents a hyperlink, linking to another resource.

MDN org.scalajs.dom.html.Anchor

Inherited from:
TextTags
lazy val accept: ReflectedAttribute[String, String]

If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored.

If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored.

MDN

Inherited from:
ReflectedHtmlAttrs
lazy val accessKey: ReflectedAttribute[String, String]

Specifies a shortcut key to activate/focus an element

Specifies a shortcut key to activate/focus an element

Inherited from:
ReflectedHtmlAttrs
lazy val action: ReflectedAttribute[String, String]

The URI of a program that processes the information submitted via the form. This value can be overridden by a formAction attribute on a button or input element.

The URI of a program that processes the information submitted via the form. This value can be overridden by a formAction attribute on a button or input element.

MDN

Only applies to com.raquo.domtypes.generic.defs.tags.FormTags.form

Inherited from:
ReflectedHtmlAttrs
lazy val alt: ReflectedAttribute[String, String]

This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.

This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.

MDN

Inherited from:
ReflectedHtmlAttrs
lazy val area: HtmlTag[Area]

In conjunction with map, defines an image map

In conjunction with map, defines an image map

MDN

Inherited from:
EmbedTags
lazy val audio: HtmlTag[Audio]

Represents a sound or an audio stream.

Represents a sound or an audio stream.

MDN

Inherited from:
EmbedTags
lazy val autoCapitalize: ReflectedAttribute[String, String]

This is a nonstandard attribute used by Chrome and iOS Safari Mobile, which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user.

This is a nonstandard attribute used by Chrome and iOS Safari Mobile, which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user.

Possible values: "none" | "sentences" | "words" | "characters"

MDN

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Non-standard_%3Cinput%3E_attributes

Inherited from:
ReflectedHtmlAttrs
lazy val autoComplete: ReflectedAttribute[String, String]

This attribute indicates whether the value of the control can be automatically completed by the browser. This attribute is ignored if the value of the type attribute is hidden, checkbox, radio, file, or a button type (button, submit, reset, image).

This attribute indicates whether the value of the control can be automatically completed by the browser. This attribute is ignored if the value of the type attribute is hidden, checkbox, radio, file, or a button type (button, submit, reset, image).

MDN

Inherited from:
ReflectedHtmlAttrs
lazy val autoFocus: ReflectedAttribute[Boolean, Boolean]

This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autofocus attribute, which is a Boolean. It cannot be applied if the type attribute is set to hidden (that is, you cannot automatically set focus to a hidden control).

This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autofocus attribute, which is a Boolean. It cannot be applied if the type attribute is set to hidden (that is, you cannot automatically set focus to a hidden control).

MDN

Inherited from:
ReflectedHtmlAttrs
lazy val b: HtmlTag[Element]

Bold text.

Bold text.

MDN org.scalajs.dom.html.Element

Inherited from:
TextTags
lazy val background: Style[String]

The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet. background can be used to set the values for one or more of: background-clip, background-color, background-image, background-origin, background-position, background-repeat, background-size, and background-attachment.

The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet. background can be used to set the values for one or more of: background-clip, background-color, background-image, background-origin, background-position, background-repeat, background-size, and background-attachment.

MDN

Inherited from:
Styles
lazy val backgroundColor: Style[String]

The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent.

The background-color CSS property sets the background color of an element, either through a color value or the keyword transparent.

MDN

Inherited from:
Styles

The CSS background-image property sets one or several background images for an element. The images are drawn on successive stacking context layers, with the first specified being drawn as if it is the closest to the user. The borders of the element are then drawn on top of them, and the background-color is drawn beneath them.

The CSS background-image property sets one or several background images for an element. The images are drawn on successive stacking context layers, with the first specified being drawn as if it is the closest to the user. The borders of the element are then drawn on top of them, and the background-color is drawn beneath them.

MDN

Inherited from:
Styles
lazy val backgroundPosition: Style[String]

The background-position CSS property sets the initial position, relative to the background position layer defined by background-origin for each defined background image.

The background-position CSS property sets the initial position, relative to the background position layer defined by background-origin for each defined background image.

MDN

Inherited from:
Styles
lazy val backgroundRepeat: Style[String]

The background-repeat CSS property defines how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both, or not repeated at all. When the repetition of the image tiles doesn't let them exactly cover the background, the way adjustments are done can be controlled by the author: by default, the last image is clipped, but the different tiles can instead be re-sized, or space can be inserted between the tiles.

The background-repeat CSS property defines how background images are repeated. A background image can be repeated along the horizontal axis, the vertical axis, both, or not repeated at all. When the repetition of the image tiles doesn't let them exactly cover the background, the way adjustments are done can be controlled by the author: by default, the last image is clipped, but the different tiles can instead be re-sized, or space can be inserted between the tiles.

MDN

Inherited from:
Styles
lazy val blockQuote: HtmlTag[Quote]

Represents a content that is quoted from another source.

Represents a content that is quoted from another source.

MDN

Inherited from:
GroupingTags
lazy val body: HtmlTag[Body]

Represents the content of an HTML document. There is only one body element in a document.

Represents the content of an HTML document. There is only one body element in a document.

MDN org.scalajs.dom.html.Body

Inherited from:
SectionTags
lazy val border: Style[String]

The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet. border can be used to set the values for one or more of: border-width, border-style, border-color.

The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet. border can be used to set the values for one or more of: border-width, border-style, border-color.

MDN

Inherited from:
Styles
lazy val borderBottom: Style[String]

The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width. These properties describe the bottom border of elements.

The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width. These properties describe the bottom border of elements.

MDN

Inherited from:
Styles
lazy val borderBottomColor: Style[String]

The border-bottom-color CSS property sets the color of the bottom border of an element. Note that in many cases the shorthand CSS properties border-color or border-bottom are more convenient and preferable.

The border-bottom-color CSS property sets the color of the bottom border of an element. Note that in many cases the shorthand CSS properties border-color or border-bottom are more convenient and preferable.

MDN

Inherited from:
Styles

The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

MDN

Inherited from:
Styles

The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

MDN

Inherited from:
Styles

The border-bottom-style CSS property sets the line style of the bottom border of a box.

The border-bottom-style CSS property sets the line style of the bottom border of a box.

MDN

Inherited from:
Styles

The border-bottom-width CSS property sets the width of the bottom border of a box.

The border-bottom-width CSS property sets the width of the bottom border of a box.

MDN

Inherited from:
Styles
lazy val borderColor: Style[String]

The border-color CSS property is a shorthand for setting the color of the four sides of an element's border: border-top-color, border-right-color, border-bottom-color, border-left-color

The border-color CSS property is a shorthand for setting the color of the four sides of an element's border: border-top-color, border-right-color, border-bottom-color, border-left-color

MDN

Inherited from:
Styles
lazy val borderLeft: Style[String]

The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width. These properties describe the left border of elements.

The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width. These properties describe the left border of elements.

The three values of the shorthand property can be specified in any order, and one or two of them may be omitted.

MDN

Inherited from:
Styles
lazy val borderLeftColor: Style[String]

The border-right-color CSS property sets the color of the right border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.

The border-right-color CSS property sets the color of the right border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.

MDN

Inherited from:
Styles

The border-left-style CSS property sets the line style of the left border of a box.

The border-left-style CSS property sets the line style of the left border of a box.

MDN

Inherited from:
Styles

The border-left-width CSS property sets the width of the left border of a box.

The border-left-width CSS property sets the width of the left border of a box.

MDN

Inherited from:
Styles
lazy val borderRadius: Style[String]

The border-radius CSS property allows Web authors to define how rounded border corners are. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse.

The border-radius CSS property allows Web authors to define how rounded border corners are. The curve of each corner is defined using one or two radii, defining its shape: circle or ellipse.

MDN

Inherited from:
Styles
lazy val borderRight: Style[String]

The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width. These properties describe the right border of elements.

The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width. These properties describe the right border of elements.

MDN

Inherited from:
Styles
lazy val borderRightColor: Style[String]

The border-right-color CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.

The border-right-color CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties border-color or border-right are more convenient and preferable.

MDN

Inherited from:
Styles

The border-right-style CSS property sets the line style of the right border of a box.

The border-right-style CSS property sets the line style of the right border of a box.

MDN

Inherited from:
Styles

The border-right-width CSS property sets the width of the right border of a box.

The border-right-width CSS property sets the width of the right border of a box.

MDN

Inherited from:
Styles
lazy val borderStyle: Style[String]

The border-style CSS property is a shorthand property for setting the line style for all four sides of the elements border.

The border-style CSS property is a shorthand property for setting the line style for all four sides of the elements border.

MDN

Inherited from:
Styles
lazy val borderTop: Style[String]

The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width. These properties describe the top border of elements.

The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width. These properties describe the top border of elements.

MDN

Inherited from:
Styles
lazy val borderTopColor: Style[String]

The border-top-color CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties border-color or border-top are more convenient and preferable.

The border-top-color CSS property sets the color of the top border of an element. Note that in many cases the shorthand CSS properties border-color or border-top are more convenient and preferable.

MDN

Inherited from:
Styles

The border-top-left-radius CSS property sets the rounding of the top-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

The border-top-left-radius CSS property sets the rounding of the top-left corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

MDN

Inherited from:
Styles

The border-top-right-radius CSS property sets the rounding of the top-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

The border-top-right-radius CSS property sets the rounding of the top-right corner of the element. The rounding can be a circle or an ellipse, or if one of the value is 0 no rounding is done and the corner is square.

MDN

Inherited from:
Styles

The border-top-style CSS property sets the line style of the top border of a box.

The border-top-style CSS property sets the line style of the top border of a box.

MDN

Inherited from:
Styles

The border-top-width CSS property sets the width of the top border of a box.

The border-top-width CSS property sets the width of the top border of a box.

MDN

Inherited from:
Styles
lazy val borderWidth: Style[String]

The border-width CSS property sets the width of the border of a box. Using the shorthand property border is often more convenient.

The border-width CSS property sets the width of the border of a box. Using the shorthand property border is often more convenient.

MDN

Inherited from:
Styles
lazy val bottom: AutoStyle[String]

The bottom CSS property participates in specifying the position of positioned elements.

The bottom CSS property participates in specifying the position of positioned elements.

For absolutely positioned elements, that is those with position: absolute or position: fixed, it specifies the distance between the bottom margin edge of the element and the bottom edge of its containing block.

For relatively positioned elements, that is those with position: relative, it specifies the distance the element is moved above its normal position.

However, the top property overrides the bottom property, so if top is not auto, the computed value of bottom is the negative of the computed value of top.

MDN

Inherited from:
Styles
lazy val boxShadow: Style[String]

The box-shadow CSS property describes one or more shadow effects as a comma-separated list. It allows casting a drop shadow from the frame of almost any element. If a border-radius is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text shadows (the first specified shadow is on top).

The box-shadow CSS property describes one or more shadow effects as a comma-separated list. It allows casting a drop shadow from the frame of almost any element. If a border-radius is specified on the element with a box shadow, the box shadow takes on the same rounded corners. The z-ordering of multiple box shadows is the same as multiple text shadows (the first specified shadow is on top).

MDN

Inherited from:
Styles
lazy val br: HtmlTag[BR]

Represents a line break.

Represents a line break.

MDN org.scalajs.dom.html.BR

Inherited from:
TextTags
lazy val button: HtmlTag[Button]

A button

A button

MDN

Inherited from:
FormTags
lazy val canvas: HtmlTag[Canvas]

Represents a bitmap area that scripts can use to render graphics like graphs, games or any visual images on the fly.

Represents a bitmap area that scripts can use to render graphics like graphs, games or any visual images on the fly.

MDN

Inherited from:
EmbedTags
lazy val caption: HtmlTag[TableCaption]

The title of a table.

The title of a table.

MDN

Inherited from:
TableTags
lazy val charset: Attribute[String]

Declares the character encoding of the page or script. Used on meta and script elements.

Declares the character encoding of the page or script. Used on meta and script elements.

MDN

Inherited from:
HtmlAttrs
lazy val checked: Property[Boolean, Boolean]

When the value of the type attribute is "radio" or "checkbox", this property determines whether it is checked or not.

When the value of the type attribute is "radio" or "checkbox", this property determines whether it is checked or not.

See also com.raquo.domtypes.generic.defs.reflectedAttrs.ReflectedHtmlAttrs.defaultChecked

Inherited from:
Props
lazy val cite: HtmlTag[Element]

Represents the title of a work being cited.

Represents the title of a work being cited.

MDN org.scalajs.dom.html.Element

Inherited from:
TextTags
final lazy override val className: AccumAttrBuilder[String]
Inherited from:
HtmlAttrs
lazy val cls: ReflectedAttribute[String, String]
Inherited from:
ComplexHtmlKeys
lazy val code: HtmlTag[Element]

Represents computer code.

Represents computer code.

MDN org.scalajs.dom.html.Element

Inherited from:
TextTags
lazy val col: HtmlTag[TableCol]

A single column.

A single column.

MDN

Inherited from:
TableTags
lazy val colGroup: HtmlTag[TableCol]

A set of columns.

A set of columns.

MDN

Inherited from:
TableTags
lazy val colSpan: ReflectedAttribute[Int, Int]

This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1; if its value is set to 0, it extends until the end of the , even if implicitly defined, that the cell belongs to. Values higher than 1000 will be considered as incorrect and will be set to the default value (1).

This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1; if its value is set to 0, it extends until the end of the , even if implicitly defined, that the cell belongs to. Values higher than 1000 will be considered as incorrect and will be set to the default value (1).

MDN

Inherited from:
ReflectedHtmlAttrs
lazy val cols: ReflectedAttribute[Int, Int]

The visible width of text input or