object all extends Cap with Attrs with Styles with jsdom.Tags with DataConverters with Aggregate with LowPriorityImplicits
Convenience object for importing all of Scalatags' functionality at once
- Alphabetic
- By Inheritance
- all
- LowPriorityImplicits
- Aggregate
- Aggregate
- Aliases
- DataConverters
- Tags
- Tags
- Styles
- StyleMisc
- Attrs
- FormEventAttrs
- WindowEventAttrs
- MouseEventAttrs
- KeyboardEventAttrs
- MiscellaneousEventAttrs
- MediaEventAttrs
- SharedEventAttrs
- ClipboardEventAttrs
- InputAttrs
- GlobalAttrs
- Cap
- TagFactory
- Util
- LowPriUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class CssNumber[T] extends AnyRef
Extends numbers to provide a bunch of useful methods, allowing you to write CSS-lengths in a nice syntax without resorting to strings.
Extends numbers to provide a bunch of useful methods, allowing you to write CSS-lengths in a nice syntax without resorting to strings.
- Definition Classes
- DataConverters
- implicit class ApplyTags extends AnyRef
- Definition Classes
- Aggregate
- implicit class StyleFrag extends StyleSheetFrag
- Definition Classes
- Aggregate
- implicit class GeneratorFrag[A] extends JsDom.Frag
- Definition Classes
- Cap
- implicit class SeqFrag[A] extends JsDom.Frag
- Definition Classes
- Cap
- type Attr = generic.Attr
- Definition Classes
- Aliases
- type AttrPair = generic.AttrPair[Element, Node]
- Definition Classes
- Aliases
- type AttrValue[V] = generic.AttrValue[Element, V]
- Definition Classes
- Aliases
- type Attrs = generic.Attrs[Element, Element, Node]
- Definition Classes
- Aliases
- type ConcreteHtmlTag[T <: Element] = TypedTag[T]
- type Frag = generic.Frag[Element, Node]
- Definition Classes
- Aliases
- type HtmlTag = TypedTag[Element]
- Definition Classes
- Aggregate
- type Modifier = generic.Modifier[Element]
- Definition Classes
- Aliases
- type PixelStyleValue[V] = generic.PixelStyleValue[Element, V]
- Definition Classes
- Aliases
- type RawFrag = JsDom.RawFrag
- type StringFrag = JsDom.StringFrag
- type Style = generic.Style
- Definition Classes
- Aliases
- type StyleValue[V] = generic.StyleValue[Element, V]
- Definition Classes
- Aliases
- type Styles = generic.Styles[Element, Element, Node]
- Definition Classes
- Aliases
- type Styles2 = generic.Styles2[Element, Element, Node]
- Definition Classes
- Aliases
- type SvgAttrs = generic.SvgAttrs[Element, Element, Node]
- Definition Classes
- Aliases
- type SvgTag = TypedTag[Element]
- Definition Classes
- Aggregate
- type SvgTags = generic.SvgTags[Element, Element, Node]
- Definition Classes
- Aliases
- type Tag = generic.TypedTag[Element, Element, Node]
- Definition Classes
- Aliases
- type Tags = generic.Tags[Element, Element, Node]
- Definition Classes
- Aliases
- type Tags2 = generic.Tags2[Element, Element, Node]
- Definition Classes
- Aliases
- type Util = generic.Util[Element, Element, Node]
- Definition Classes
- Aliases
- implicit class bindNode extends Frag[Element, Node]
- Definition Classes
- LowPriorityImplicits
- class DataAttribute extends Dynamic
- Definition Classes
- GlobalAttrs
- trait TextAlign extends Style
- Definition Classes
- Styles
- implicit class SeqNode[A] extends Modifier[Builder]
Allows you to modify a ConcreteHtmlTag by adding a Seq containing other nest-able objects to its list of children.
Allows you to modify a ConcreteHtmlTag by adding a Seq containing other nest-able objects to its list of children.
- Definition Classes
- Util
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def ArrayFrag[A](xs: Array[A])(implicit ev: (A) => generic.Frag[Element, Node]): generic.Frag[Element, Node]
Renders an Seq of FragT into a single FragT
Renders an Seq of FragT into a single FragT
- Definition Classes
- LowPriUtil
- implicit def ArrayNode[A](xs: Array[A])(implicit ev: (A) => generic.Modifier[Element]): SeqNode[A]
Allows you to modify a ConcreteHtmlTag by adding an Array containing other nest-able objects to its list of children.
Allows you to modify a ConcreteHtmlTag by adding an Array containing other nest-able objects to its list of children.
- Definition Classes
- Util
- implicit def Byte2CssNumber(x: Byte): CssNumber[Byte]
- Definition Classes
- DataConverters
- implicit def ClsModifier(s: Cls): Modifier
- implicit def Double2CssNumber(x: Double): CssNumber[Double]
- Definition Classes
- DataConverters
- implicit def Float2CssNumber(x: Float): CssNumber[Float]
- Definition Classes
- DataConverters
- val HtmlTag: TypedTag.type
- Definition Classes
- Aggregate
- implicit def Int2CssNumber(x: Int): CssNumber[Int]
- Definition Classes
- DataConverters
- implicit def Long2CssNumber(x: Long): CssNumber[Long]
- Definition Classes
- DataConverters
- implicit def OptionFrag[A](xs: Option[A])(implicit ev: (A) => generic.Frag[Element, Node]): generic.Frag[Element, Node]
Renders an Option of FragT into a single FragT
Renders an Option of FragT into a single FragT
- Definition Classes
- LowPriUtil
- implicit def OptionNode[A](xs: Option[A])(implicit ev: (A) => generic.Modifier[Element]): SeqNode[A]
Allows you to modify a ConcreteHtmlTag by adding an Option containing other nest-able objects to its list of children.
Allows you to modify a ConcreteHtmlTag by adding an Option containing other nest-able objects to its list of children.
- Definition Classes
- Util
- val RawFrag: JsDom.RawFrag.type
- implicit def Short2CssNumber(x: Short): CssNumber[Short]
- Definition Classes
- DataConverters
- val StringFrag: JsDom.StringFrag.type
- val SvgTag: TypedTag.type
- Definition Classes
- Aggregate
- val Tag: TypedTag.type
- Definition Classes
- Aggregate
- implicit def UnitFrag(u: Unit): JsDom.StringFrag
Lets you put Unit into a scalatags tree, as a no-op.
Lets you put Unit into a scalatags tree, as a no-op.
- Definition Classes
- Cap → LowPriUtil
- lazy val a: ConcreteHtmlTag[Anchor]
Represents a hyperlink, linking to another resource.
- lazy val accept: generic.Attr
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
- Definition Classes
- Attrs
- lazy val accesskey: generic.Attr
Specifies a shortcut key to activate/focus an element
Specifies a shortcut key to activate/focus an element
- Definition Classes
- GlobalAttrs
- lazy val action: generic.Attr
The URI of a program that processes the information submitted via the form.
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
- Definition Classes
- InputAttrs
- lazy val alt: generic.Attr
This attribute defines the alternative text describing the image.
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
- Definition Classes
- Attrs
- lazy val area: ConcreteHtmlTag[Area]
In conjunction with map, defines an image map
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attr(s: String, ns: Namespace = null, raw: Boolean = false): generic.Attr
Constructs an Attr attribute object from a string; can be used inline:
- lazy val audio: ConcreteHtmlTag[Audio]
Represents a sound or an audio stream.
- lazy val autocomplete: generic.Attr
This attribute indicates whether the value of the control can be automatically completed by the browser.
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).
Possible values are "off" and "on"
MDN
- Definition Classes
- InputAttrs
- lazy val autofocus: generic.AttrPair[Element, String]
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.
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
- Definition Classes
- InputAttrs
- lazy val b: ConcreteHtmlTag[Element]
Bold text.
- lazy val background: generic.Style
The background CSS property is a shorthand for setting the individual background values in a single place in the style sheet.
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
- Definition Classes
- Styles
- lazy val backgroundColor: generic.Style
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
- Definition Classes
- Styles
- lazy val backgroundImage: MultiImageStyle
The CSS background-image property sets one or several background images for an element.
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
- Definition Classes
- Styles
- lazy val backgroundPosition: generic.Style
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
- Definition Classes
- Styles
- lazy val backgroundRepeat: generic.Style
The background-repeat CSS property defines how background images are repeated.
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
- Definition Classes
- Styles
- lazy val base: ConcreteHtmlTag[Base]
Defines the base URL for relative URLs in the page.
- implicit def bindJsAnyLike[T](implicit ev: (T) => Any): generic.AttrValue[Element, T]
- Definition Classes
- LowPriorityImplicits
- lazy val blockquote: ConcreteHtmlTag[Quote]
Represents a content that is quoted from another source.
- lazy val body: ConcreteHtmlTag[Body]
Represents the content of an HTML document.
- implicit val booleanAttr: AttrValue[Boolean]
- Definition Classes
- Aggregate
- implicit val booleanPixelStyle: PixelStyleValue[Boolean]
- Definition Classes
- Aggregate
- implicit val booleanStyle: StyleValue[Boolean]
- Definition Classes
- Aggregate
- lazy val border: generic.Style
The border CSS property is a shorthand property for setting the individual border property values in a single place in the style sheet.
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
- Definition Classes
- Styles
- lazy val borderBottom: generic.Style
The border-bottom CSS property is a shorthand that sets the values of border-bottom-color, border-bottom-style, and border-bottom-width.
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
- Definition Classes
- Styles
- lazy val borderBottomColor: generic.Style
The border-bottom-color CSS property sets the color of the bottom border of an element.
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
- Definition Classes
- Styles
- lazy val borderBottomLeftRadius: BorderRadius
The border-bottom-left-radius CSS property sets the rounding of the bottom-left corner of the element.
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
- Definition Classes
- Styles
- lazy val borderBottomRightRadius: BorderRadius
The border-bottom-right-radius CSS property sets the rounding of the bottom-right corner of the element.
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
- Definition Classes
- Styles
- lazy val borderBottomStyle: BorderStyle
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
- Definition Classes
- Styles
- lazy val borderBottomWidth: BorderWidth
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
- Definition Classes
- Styles
- lazy val borderColor: generic.Style
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
- Definition Classes
- Styles
- lazy val borderLeft: generic.Style
The border-left CSS property is a shorthand that sets the values of border-left-color, border-left-style, and border-left-width.
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
- Definition Classes
- Styles
- lazy val borderLeftColor: generic.Style
The border-right-color CSS property sets the color of the right border of an element.
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
- Definition Classes
- Styles
- lazy val borderLeftStyle: BorderStyle
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
- Definition Classes
- Styles
- lazy val borderLeftWidth: BorderWidth
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
- Definition Classes
- Styles
- lazy val borderRadius: PixelStyle
The border-radius CSS property allows Web authors to define how rounded border corners are.
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
- Definition Classes
- Styles
- lazy val borderRight: generic.Style
The border-right CSS property is a shorthand that sets the values of border-right-color, border-right-style, and border-right-width.
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
- Definition Classes
- Styles
- lazy val borderRightColor: generic.Style
The border-right-color CSS property sets the color of the top border of an element.
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
- Definition Classes
- Styles
- lazy val borderRightStyle: BorderStyle
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
- Definition Classes
- Styles
- lazy val borderRightWidth: BorderWidth
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
- Definition Classes
- Styles
- lazy val borderStyle: generic.Style
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
- Definition Classes
- Styles
- lazy val borderTop: generic.Style
The border-top CSS property is a shorthand that sets the values of border-top-color, border-top-style, and border-top-width.
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
- Definition Classes
- Styles
- lazy val borderTopColor: generic.Style
The border-top-color CSS property sets the color of the top border of an element.
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
- Definition Classes
- Styles
- lazy val borderTopLeftRadius: BorderRadius
The border-top-left-radius CSS property sets the rounding of the top-left corner of the element.
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
- Definition Classes
- Styles
- lazy val borderTopRightRadius: BorderRadius
The border-top-right-radius CSS property sets the rounding of the top-right corner of the element.
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
- Definition Classes
- Styles
- lazy val borderTopStyle: BorderStyle
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
- Definition Classes
- Styles
- lazy val borderTopWidth: BorderWidth
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
- Definition Classes
- Styles
- lazy val borderWidth: generic.Style
The border-width CSS property sets the width of the border of a box.
The border-width CSS property sets the width of the border of a box. Using the shorthand property border is often more convenient.
MDN
- Definition Classes
- Styles
- lazy val bottom: PixelAutoStyle
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
- Definition Classes
- Styles
- lazy val boxShadow: generic.Style
The box-shadow CSS property describes one or more shadow effects as a comma-separated list.
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
- Definition Classes
- Styles
- lazy val br: ConcreteHtmlTag[BR]
Represents a line break.
- lazy val button: ConcreteHtmlTag[Button]
A button
- implicit val byteAttr: AttrValue[Byte]
- Definition Classes
- Aggregate
- implicit def byteFrag(v: Byte): Frag
- Definition Classes
- Aggregate
- implicit val bytePixelStyle: PixelStyleValue[Byte]
- Definition Classes
- Aggregate
- implicit val byteStyle: StyleValue[Byte]
- Definition Classes
- Aggregate
- lazy val canvas: ConcreteHtmlTag[Canvas]
Represents a bitmap area that scripts can use to render graphics like graphs, games or any visual images on the fly.
- lazy val caption: ConcreteHtmlTag[TableCaption]
The title of a table.
- lazy val charset: generic.Attr
Declares the character encoding of the page or script.
Declares the character encoding of the page or script. Used on meta and script elements.
MDN
- Definition Classes
- Attrs
- lazy val checked: generic.AttrPair[Element, String]
When the value of the type attribute is radio or checkbox, the presence of this Boolean attribute indicates that the control is selected by default; otherwise it is ignored.
When the value of the type attribute is radio or checkbox, the presence of this Boolean attribute indicates that the control is selected by default; otherwise it is ignored.
MDN
- Definition Classes
- InputAttrs
- lazy val cite: ConcreteHtmlTag[Element]
Represents the title of a work being cited.
- lazy val class: generic.Attr
This attribute is a space-separated list of the classes of the element.
This attribute is a space-separated list of the classes of the element. Classes allows CSS and Javascript to select and access specific elements via the class selectors or functions like the DOM method document.getElementsByClassName. You can use cls as an alias for this attribute so you don't have to backtick-escape this attribute.
MDN
- Definition Classes
- GlobalAttrs
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- lazy val cls: generic.Attr
Shorthand for the
class
attributeShorthand for the
class
attribute- Definition Classes
- GlobalAttrs
- lazy val code: ConcreteHtmlTag[Element]
Represents computer code.
- lazy val col: ConcreteHtmlTag[TableCol]
A single column.
- lazy val colgroup: ConcreteHtmlTag[TableCol]
A set of columns.
- lazy val cols: generic.Attr
The visible width of the text control, in average character widths.
The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is 20 (HTML5).
MDN
- Definition Classes
- Attrs
- lazy val colspan: generic.Attr
This attribute contains a non-negative integer value that indicates for how many columns the cell extends.
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 - Definition Classes
- Attrs
- lazy val content: generic.Attr
This attribute gives the value associated with the http-equiv or name attribute, depending of the context.
This attribute gives the value associated with the http-equiv or name attribute, depending of the context.
MDN
- Definition Classes
- Attrs
- lazy val contenteditable: generic.Attr
- Definition Classes
- GlobalAttrs
- lazy val contextmenu: generic.Attr
- Definition Classes
- GlobalAttrs
- def css(s: String): generic.Style
Constructs a CSS Style from a string, can be used inline
- def data(suffix: String): generic.Attr
- Definition Classes
- GlobalAttrs
- lazy val datalist: ConcreteHtmlTag[DataList]
A set of predefined options for other controls.
- lazy val dd: ConcreteHtmlTag[DD]
Represents the definition of the terms immediately listed before it.
- lazy val defer: generic.AttrPair[Element, String]
This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing DOMContentLoaded
This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing DOMContentLoaded
MDN
- Definition Classes
- Attrs
- lazy val del: ConcreteHtmlTag[Mod]
Defines a removal from the document.
- lazy val dir: generic.Attr
Specifies the text direction for the content in an element.
Specifies the text direction for the content in an element. The valid values are:
-
ltr
Default. Left-to-right text direction-
rtl
Right-to-left text direction-
auto
Let the browser figure out the text direction, based on the content, (only recommended if the text direction is unknown)- Definition Classes
- GlobalAttrs
- lazy val disabled: generic.AttrPair[Element, String]
This Boolean attribute indicates that the form control is not available for interaction.
This Boolean attribute indicates that the form control is not available for interaction. In particular, the click event will not be dispatched on disabled controls. Also, a disabled control's value isn't submitted with the form.
This attribute is ignored if the value of the type attribute is hidden.
MDN
- Definition Classes
- Attrs
- lazy val div: ConcreteHtmlTag[Div]
Represents a generic container with no special meaning.
- lazy val dl: ConcreteHtmlTag[DList]
Defines a definition list; a list of terms and their associated definitions.
- implicit val doubleAttr: AttrValue[Double]
- Definition Classes
- Aggregate
- implicit def doubleFrag(v: Double): Frag
- Definition Classes
- Aggregate
- implicit val doublePixelStyle: PixelStyleValue[Double]
- Definition Classes
- Aggregate
- implicit val doubleStyle: StyleValue[Double]
- Definition Classes
- Aggregate
- lazy val draggable: generic.AttrPair[Element, String]
A Boolean attribute that specifies whether an element is draggable or not
A Boolean attribute that specifies whether an element is draggable or not
- Definition Classes
- GlobalAttrs
- lazy val dropzone: generic.Attr
Specifies whether the dragged data is copied, moved, or linked, when dropped
Specifies whether the dragged data is copied, moved, or linked, when dropped
- Definition Classes
- GlobalAttrs
- lazy val dt: ConcreteHtmlTag[DT]
Represents a term defined by the next dd
- lazy val em: ConcreteHtmlTag[Element]
Represents emphasized text.
- lazy val embed: ConcreteHtmlTag[Embed]
Represents a integration point for an external, often non-HTML, application or interactive content.
- lazy val enctype: generic.Attr
The
enctype
attribute provides the encoding type of the form when it is submitted (for forms with a method of "POST").The
enctype
attribute provides the encoding type of the form when it is submitted (for forms with a method of "POST").- Definition Classes
- InputAttrs
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val fieldset: ConcreteHtmlTag[FieldSet]
A set of fields.
- lazy val figcaption: ConcreteHtmlTag[Element]
Represents the legend of a figure.
- lazy val figure: ConcreteHtmlTag[Element]
Represents a figure illustrated as part of the document.
- final lazy val flex: generic.Style
The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space.
The flex CSS property is a shorthand property specifying the ability of a flex item to alter its dimensions to fill available space. Flex items can be stretched to use available space proportional to their flex grow factor or their flex shrink factor to prevent overflow.
MDN
- Definition Classes
- Styles
- final lazy val flexBasis: generic.Style
The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item.
The CSS flex-basis property specifies the flex basis which is the initial main size of a flex item. The property determines the size of the content-box unless specified otherwise using box-sizing.
MDN
- Definition Classes
- Styles
- final lazy val flexGrow: generic.Style
The CSS flex-grow property specifies the flex grow factor of a flex item.
The CSS flex-grow property specifies the flex grow factor of a flex item.
MDN
- Definition Classes
- Styles
- final lazy val flexShrink: generic.Style
The CSS flex-shrink property specifies the flex shrink factor of a flex item.
The CSS flex-shrink property specifies the flex shrink factor of a flex item.
MDN
- Definition Classes
- Styles
- implicit val floatAttr: AttrValue[Float]
- Definition Classes
- Aggregate
- implicit def floatFrag(v: Float): Frag
- Definition Classes
- Aggregate
- implicit val floatPixelStyle: PixelStyleValue[Float]
- Definition Classes
- Aggregate
- implicit val floatStyle: StyleValue[Float]
- Definition Classes
- Aggregate
- lazy val font: generic.Style
The font CSS property is either a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family, or a way to set the element's font to a system font, using specific keywords.
The font CSS property is either a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family, or a way to set the element's font to a system font, using specific keywords.
MDN
- Definition Classes
- Styles
- lazy val fontFamily: generic.Style
The font-family CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element.
The font-family CSS property allows for a prioritized list of font family names and/or generic family names to be specified for the selected element. Unlike most other CSS properties, values are separated by a comma to indicate that they are alternatives. The browser will select the first font on the list that is installed on the computer, or that can be downloaded using the information provided by a @font-face at-rule.
MDN
- Definition Classes
- Styles
- lazy val fontFeatureSettings: generic.Style
The font-feature-settings CSS property allows control over advanced typographic features in OpenType fonts.
The font-feature-settings CSS property allows control over advanced typographic features in OpenType fonts.
MDN
- Definition Classes
- Styles
- lazy val fontSizeAdjust: generic.Style
The font-size-adjust CSS property specifies that font size should be chosen based on the height of lowercase letters rather than the height of capital letters.
The font-size-adjust CSS property specifies that font size should be chosen based on the height of lowercase letters rather than the height of capital letters.
This is useful since the legibility of fonts, especially at small sizes, is determined more by the size of lowercase letters than by the size of capital letters. This can cause problems when the first-choice font-family is unavailable and its replacement has a significantly different aspect ratio (the ratio of the size of lowercase letters to the size of the font).
MDN
- Definition Classes
- Styles
- lazy val footer: ConcreteHtmlTag[Element]
Defines the footer for a page or section.
- lazy val for: generic.Attr
Describes elements which belongs to this one.
Describes elements which belongs to this one. Used on labels and output elements.
MDN
- Definition Classes
- Attrs
- lazy val form: ConcreteHtmlTag[Form]
Represents a form, consisting of controls, that can be submitted to a server for processing.
- lazy val formA: generic.Attr
The form attribute specifies one or more forms an
` element belongs to.
The form attribute specifies one or more forms an
` element belongs to.
- Definition Classes
- InputAttrs
- lazy val formaction: generic.Attr
The
formaction
attribute provides the URL that will process the input control when the form is submitted and overrides the defaultaction
attribute of theform
element.The
formaction
attribute provides the URL that will process the input control when the form is submitted and overrides the defaultaction
attribute of theform
element. This should be used only withinput
elements oftype
submit or image.- Definition Classes
- InputAttrs
- lazy val formenctype: generic.Attr
The
formenctype
attribute provides the encoding type of the form when it is submitted (for forms with a method of "POST") and overrides the defaultenctype
attribute of theform
element.The
formenctype
attribute provides the encoding type of the form when it is submitted (for forms with a method of "POST") and overrides the defaultenctype
attribute of theform
element. This should be used only with theinput
elements oftype
"submit" or "image"- Definition Classes
- InputAttrs
- lazy val formmethod: generic.Attr
The
formmethod
attribute specifies the HTTP Method the form should use when it is submitted and overrides the defaultmethod
attribute of theform
element.The
formmethod
attribute specifies the HTTP Method the form should use when it is submitted and overrides the defaultmethod
attribute of theform
element. This should be used only with theinput
elements oftype
"submit" or "image".- Definition Classes
- InputAttrs
- lazy val formnovalidate: generic.Attr
The
formnovalidate
Boolean attribute specifies that the input of the form should not be validated upon submit and overrides the defaultnovalidate
attribute of theform
.The
formnovalidate
Boolean attribute specifies that the input of the form should not be validated upon submit and overrides the defaultnovalidate
attribute of theform
. This should only be used withinput
elements of oftype
"submit".- Definition Classes
- InputAttrs
- lazy val formtarget: generic.Attr
The
formtarget
provides a name or keyword that indicates where to display the response that is received after submitting the form and overrides thetarget
attribute of themform
element.The
formtarget
provides a name or keyword that indicates where to display the response that is received after submitting the form and overrides thetarget
attribute of themform
element. This should only be used with theinput
elements oftype
"submit" or "image"- Definition Classes
- InputAttrs
- def frag(frags: generic.Frag[Element, Node]*): generic.Frag[Element, Node]
- Definition Classes
- Util
- def genericAttr[T]: GenericAttr[T]
- def genericPixelStyle[T](implicit ev: StyleValue[T]): PixelStyleValue[T]
- def genericPixelStylePx[T](implicit ev: StyleValue[String]): PixelStyleValue[T]
- def genericStyle[T]: GenericStyle[T]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val h1: ConcreteHtmlTag[Heading]
Heading level 1
- lazy val h2: ConcreteHtmlTag[Heading]
Heading level 2
- lazy val h3: ConcreteHtmlTag[Heading]
Heading level 3
- lazy val h4: ConcreteHtmlTag[Heading]
Heading level 4
- lazy val h5: ConcreteHtmlTag[Heading]
Heading level 5
- lazy val h6: ConcreteHtmlTag[Heading]
Heading level 6
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val head: ConcreteHtmlTag[Head]
Represents a collection of metadata about the document, including links to, or definitions of, scripts and style sheets.
- lazy val header: ConcreteHtmlTag[Element]
Defines the header of a page or section.
- lazy val height: PixelAutoStyle
The height CSS property specifies the height of the content area of an element.
The height CSS property specifies the height of the content area of an element. The content area is inside the padding, border, and margin of the element.
The min-height and max-height properties override height.
MDN
- Definition Classes
- Styles
- lazy val heightA: generic.Attr
The
height
attribute specifies the height of aninput
element oftype
"image".The
height
attribute specifies the height of aninput
element oftype
"image".- Definition Classes
- InputAttrs
- lazy val hidden: generic.AttrPair[Element, String]
Specifies that an element is not yet, or is no longer, relevant and consequently hidden from view of the user.
Specifies that an element is not yet, or is no longer, relevant and consequently hidden from view of the user.
- Definition Classes
- GlobalAttrs
- lazy val high: generic.Attr
For use in <meter> tags.
For use in <meter> tags.
- Definition Classes
- Attrs
- See also
https://css-tricks.com/html5-meter-element/
- lazy val hr: ConcreteHtmlTag[HR]
Represents a thematic break between paragraphs of a section or article or any longer content.
- lazy val href: generic.Attr
This is the single required attribute for anchors defining a hypertext source link.
This is the single required attribute for anchors defining a hypertext source link. It indicates the link target, either a URL or a URL fragment. A URL fragment is a name preceded by a hash mark (#), which specifies an internal target location (an ID) within the current document. URLs are not restricted to Web (HTTP)-based documents. URLs might use any protocol supported by the browser. For example, file, ftp, and mailto work in most user agents.
MDN
- Definition Classes
- Attrs
- lazy val html: ConcreteHtmlTag[Html]
Represents the root of an HTML or XHTML document.
- lazy val httpEquiv: generic.Attr
This enumerated attribute defines the pragma that can alter servers and user-agents behavior.
This enumerated attribute defines the pragma that can alter servers and user-agents behavior. The value of the pragma is defined using the content attribute and can be one of the following:
- content-language
- content-type
- default-style
- refresh
- set-cookie
MDN
- Definition Classes
- Attrs
- lazy val i: ConcreteHtmlTag[Element]
Italicized text.
- lazy val id: generic.Attr
This attribute defines a unique identifier (ID) which must be unique in the whole document.
This attribute defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).
MDN
- Definition Classes
- GlobalAttrs
- lazy val iframe: ConcreteHtmlTag[IFrame]
Represents a nested browsing context, that is an embedded HTML document.
- lazy val img: ConcreteHtmlTag[Image]
Represents an image.
- lazy val input: ConcreteHtmlTag[Input]
A typed data field allowing the user to input data.
- lazy val ins: ConcreteHtmlTag[Mod]
Defines an addition to the document.
- implicit val intAttr: AttrValue[Int]
- Definition Classes
- Aggregate
- implicit def intFrag(v: Int): Frag
- Definition Classes
- Aggregate
- implicit val intPixelStyle: PixelStyleValue[Int]
- Definition Classes
- Aggregate
- implicit val intStyle: StyleValue[Int]
- Definition Classes
- Aggregate
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val label: ConcreteHtmlTag[Label]
The caption of a single field
- lazy val lang: generic.Attr
This attribute participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in.
This attribute participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in. The tag contains one single entry value in the format defines in the Tags for Identifying Languages (BCP47) IETF document. If the tag content is the empty string the language is set to unknown; if the tag content is not valid, regarding to BCP47, it is set to invalid.
MDN
- Definition Classes
- GlobalAttrs
- lazy val left: PixelAutoStyle
The left CSS property specifies part of the position of positioned elements.
The left CSS property specifies part of the position of positioned elements.
For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the left margin edge of the element and the left edge of its containing block.
MDN
- Definition Classes
- Styles
- lazy val legend: ConcreteHtmlTag[Legend]
The caption for a fieldset.
- lazy val letterSpacing: NormalOpenStyle
The letter-spacing CSS property specifies spacing behavior between text characters.
The letter-spacing CSS property specifies spacing behavior between text characters.
MDN
- Definition Classes
- Styles
- lazy val li: ConcreteHtmlTag[LI]
Defines an item of an list.
- lazy val lineHeight: NormalOpenStyle
On block level elements, the line-height CSS property specifies the minimal height of line boxes within the element.
On block level elements, the line-height CSS property specifies the minimal height of line boxes within the element.
On non-replaced inline elements, line-height specifies the height that is used in the calculation of the line box height.
On replaced inline elements, like buttons or other input element, line-height has no effect.
MDN
- Definition Classes
- Styles
- lazy val link: ConcreteHtmlTag[Link]
Used to link JavaScript and external CSS with the current HTML document.
- lazy val list: generic.Attr
The list attribute refers to a <datalist> element that contains the options for an input element the presents a select list.
The list attribute refers to a <datalist> element that contains the options for an input element the presents a select list.
- Definition Classes
- InputAttrs
- lazy val listStyle: generic.Style
The list-style CSS property is a shorthand property for setting list-style-type, list-style-image and list-style-position.
The list-style CSS property is a shorthand property for setting list-style-type, list-style-image and list-style-position.
MDN
- Definition Classes
- Styles
- implicit val longAttr: AttrValue[Long]
- Definition Classes
- Aggregate
- implicit def longFrag(v: Long): Frag
- Definition Classes
- Aggregate
- implicit val longPixelStyle: PixelStyleValue[Long]
- Definition Classes
- Aggregate
- implicit val longStyle: StyleValue[Long]
- Definition Classes
- Aggregate
- lazy val low: generic.Attr
For use in <meter> tags.
For use in <meter> tags.
- Definition Classes
- Attrs
- See also
https://css-tricks.com/html5-meter-element/
- def makeAbstractTypedTag[T <: Element](tag: String, void: Boolean, namespaceConfig: Namespace): TypedTag[T]
- lazy val map: ConcreteHtmlTag[Map]
In conjunction with area, defines an image map.
- lazy val marginBottom: PixelAutoStyle
The margin-bottom CSS property of an element sets the margin space required on the bottom of an element.
The margin-bottom CSS property of an element sets the margin space required on the bottom of an element. A negative value is also allowed.
MDN
- Definition Classes
- Styles
- lazy val marginLeft: PixelStyle with MarginAuto
The margin-left CSS property of an element sets the margin space required on the left side of a box associated with an element.
The margin-left CSS property of an element sets the margin space required on the left side of a box associated with an element. A negative value is also allowed.
The vertical margins of two adjacent boxes may fuse. This is called margin collapsing.
MDN
- Definition Classes
- Styles
- lazy val marginRight: PixelStyle with MarginAuto
The margin-right CSS property of an element sets the margin space required on the bottom of an element.
The margin-right CSS property of an element sets the margin space required on the bottom of an element. A negative value is also allowed.
MDN
- Definition Classes
- Styles
- lazy val marginTop: PixelStyle with MarginAuto
The margin-top CSS property of an element sets the margin space required on the top of an element.
The margin-top CSS property of an element sets the margin space required on the top of an element. A negative value is also allowed.
MDN
- Definition Classes
- Styles
- lazy val max: generic.Attr
The max attribute specifies the maximum value for an element of type number, range, date, datetime, datetime-local, month, time, or week.
The max attribute specifies the maximum value for an element of type number, range, date, datetime, datetime-local, month, time, or week.
- Definition Classes
- InputAttrs
- lazy val maxHeight: MaxLengthStyle
The max-height CSS property is used to set the maximum height of a given element.
The max-height CSS property is used to set the maximum height of a given element. It prevents the used value of the height property from becoming larger than the value specified for max-height.
max-height overrides height, but min-height overrides max-height.
MDN
- Definition Classes
- Styles
- lazy val maxWidth: MaxLengthStyle
The max-width CSS property is used to set the maximum width of a given element.
The max-width CSS property is used to set the maximum width of a given element. It prevents the used value of the width property from becoming larger than the value specified for max-width.
max-width overrides width, but min-width overrides max-width.
MDN
- Definition Classes
- Styles
- lazy val maxlength: generic.Attr
The maximum allowed length for the input field.
The maximum allowed length for the input field. This attribute forces the input control to accept no more than the allowed number of characters. It does not produce any feedback to the user; you must write Javascript to make that happen.
- Definition Classes
- InputAttrs
- lazy val media: generic.Attr
This attribute specifies the media which the linked resource applies to.
This attribute specifies the media which the linked resource applies to. Its value must be a media query. This attribute is mainly useful when linking to external stylesheets by allowing the user agent to pick the best adapted one for the device it runs on.
- Definition Classes
- Attrs
- See also
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-media
- lazy val meta: ConcreteHtmlTag[Meta]
Defines metadata that can't be defined using another HTML element.
- lazy val method: generic.Attr
The HTTP method that the browser uses to submit the form.
The HTTP method that the browser uses to submit the form. Possible values are:
- post: Corresponds to the HTTP POST method ; form data are included in the body of the form and sent to the server.
- get: Corresponds to the HTTP GET method; form data are appended to the action attribute URI with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
This value can be overridden by a formmethod attribute on a button or input element.
MDN
- Definition Classes
- InputAttrs
- lazy val min: generic.Attr
The min attribute specifies the minimum value for an element of type number, range, date, datetime, datetime-local, month, time, or week.
The min attribute specifies the minimum value for an element of type number, range, date, datetime, datetime-local, month, time, or week.
- Definition Classes
- InputAttrs
- lazy val minHeight: MinLengthStyle
The min-height CSS property is used to set the minimum height of a given element.
The min-height CSS property is used to set the minimum height of a given element. It prevents the used value of the height property from becoming smaller than the value specified for min-height.
The value of min-height overrides both max-height and height.
MDN
- Definition Classes
- Styles
- lazy val minWidth: MinLengthStyle
The min-width CSS property is used to set the minimum width of a given element.
The min-width CSS property is used to set the minimum width of a given element. It prevents the used value of the width property from becoming smaller than the value specified for min-width.
The value of min-width overrides both max-width and width.
MDN
- Definition Classes
- Styles
- lazy val minlength: generic.Attr
The minimum allowed length for the input field.
The minimum allowed length for the input field. This attribute forces the input control to accept no less than the allowed number of characters. It does not produce any feedback to the user; you must write Javascript to make that happen.
- Definition Classes
- InputAttrs
- def modifier(mods: generic.Modifier[Element]*): generic.Modifier[Element]
- Definition Classes
- Util
- lazy val multiple: generic.AttrPair[Element, String]
This Boolean attribute specifies, when present/true, that the user is allowed to enter more than one value for the element for types "email" or "file". It can also be provided to the
This Boolean attribute specifies, when present/true, that the user is allowed to enter more than one value for the element for types "email" or "file". It can also be provided to the
- Definition Classes
- InputAttrs
- lazy val name: generic.Attr
On form elements (input etc.): Name of the element.
On form elements (input etc.): Name of the element. For example used by the server to identify the fields in form submits.
On the meta tag: This attribute defines the name of a document-level metadata. This document-level metadata name is associated with a value, contained by the content attribute.
MDN
- Definition Classes
- InputAttrs
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- lazy val object: ConcreteHtmlTag[Object]
Represents an external resource, which is treated as an image, an HTML sub-document, or an external resource to be processed by a plug-in.
- lazy val ol: ConcreteHtmlTag[OList]
Defines an ordered list of items.
- lazy val onabort: generic.Attr
Script to be run on abort
Script to be run on abort
- Definition Classes
- MediaEventAttrs
- lazy val onafterprint: generic.Attr
Script to be run after the document is printed
Script to be run after the document is printed
- Definition Classes
- WindowEventAttrs
- lazy val onbeforeprint: generic.Attr
Script to be run before the document is printed
Script to be run before the document is printed
- Definition Classes
- WindowEventAttrs
- lazy val onbeforeunload: generic.Attr
Script to be run when the document is about to be unloaded
Script to be run when the document is about to be unloaded
- Definition Classes
- WindowEventAttrs
- lazy val onblur: generic.Attr
The blur event is raised when an element loses focus.
The blur event is raised when an element loses focus.
MDN
- Definition Classes
- FormEventAttrs
- lazy val oncanplay: generic.Attr
Script to be run when a file is ready to start playing (when it has buffered enough to begin)
Script to be run when a file is ready to start playing (when it has buffered enough to begin)
- Definition Classes
- MediaEventAttrs
- lazy val oncanplaythrough: generic.Attr
Script to be run when a file can be played all the way to the end without pausing for buffering
Script to be run when a file can be played all the way to the end without pausing for buffering
- Definition Classes
- MediaEventAttrs
- lazy val onchange: generic.Attr
The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.
The change event is fired for input, select, and textarea elements when a change to the element's value is committed by the user.
MDN
- Definition Classes
- FormEventAttrs
- lazy val onclick: generic.Attr
The click event is raised when the user clicks on an element.
The click event is raised when the user clicks on an element. The click event will occur after the mousedown and mouseup events.
MDN
- Definition Classes
- MouseEventAttrs
- lazy val oncontextmenu: generic.Attr
Script to be run when a context menu is triggered
Script to be run when a context menu is triggered
- Definition Classes
- FormEventAttrs
- lazy val oncopy: generic.Attr
Fires when the user copies the content of an element
Fires when the user copies the content of an element
- Definition Classes
- ClipboardEventAttrs
- lazy val oncuechange: generic.Attr
Script to be run when the cue changes in a <track> element
Script to be run when the cue changes in a <track> element
- Definition Classes
- MediaEventAttrs
- lazy val oncut: generic.Attr
Fires when the user cuts the content of an element
Fires when the user cuts the content of an element
- Definition Classes
- ClipboardEventAttrs
- lazy val ondblclick: generic.Attr
The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.
The dblclick event is fired when a pointing device button (usually a mouse button) is clicked twice on a single element.
MDN
- Definition Classes
- MouseEventAttrs
- val ondrag: generic.Attr
Script to be run when an element is dragged
Script to be run when an element is dragged
- Definition Classes
- MouseEventAttrs
- lazy val ondragend: generic.Attr
Script to be run at the end of a drag operation
Script to be run at the end of a drag operation
- Definition Classes
- MouseEventAttrs
- lazy val ondragenter: generic.Attr
Script to be run when an element has been dragged to a valid drop target
Script to be run when an element has been dragged to a valid drop target
- Definition Classes
- MouseEventAttrs
- lazy val ondragleave: generic.Attr
Script to be run when an element leaves a valid drop target
Script to be run when an element leaves a valid drop target
- Definition Classes
- MouseEventAttrs
- lazy val ondragover: generic.Attr
Script to be run when an element is being dragged over a valid drop target
Script to be run when an element is being dragged over a valid drop target
- Definition Classes
- MouseEventAttrs
- lazy val ondragstart: generic.Attr
Script to be run at the start of a drag operation
Script to be run at the start of a drag operation
- Definition Classes
- MouseEventAttrs
- lazy val ondrop: generic.Attr
Script to be run when dragged element is being dropped
Script to be run when dragged element is being dropped
- Definition Classes
- MouseEventAttrs
- lazy val ondurationchange: generic.Attr
Script to be run when the length of the media changes
Script to be run when the length of the media changes
- Definition Classes
- MediaEventAttrs
- lazy val onemptied: generic.Attr
Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)
Script to be run when something bad happens and the file is suddenly unavailable (like unexpectedly disconnects)
- Definition Classes
- MediaEventAttrs
- lazy val onended: generic.Attr
Script to be run when the media has reach the end (a useful event for messages like "thanks for listening")
Script to be run when the media has reach the end (a useful event for messages like "thanks for listening")
- Definition Classes
- MediaEventAttrs
- lazy val onerror: generic.Attr
Script to be run when an error occurs when the file is being loaded
Script to be run when an error occurs when the file is being loaded
- Definition Classes
- SharedEventAttrs
- lazy val onfocus: generic.Attr
The focus event is raised when the user sets focus on the given element.
The focus event is raised when the user sets focus on the given element.
MDN
- Definition Classes
- FormEventAttrs
- lazy val onhashchange: generic.Attr
Script to be run when there has been changes to the anchor part of the a URL
Script to be run when there has been changes to the anchor part of the a URL
- Definition Classes
- WindowEventAttrs
- lazy val oninput: generic.Attr
Script to be run when an element gets user input
Script to be run when an element gets user input
- Definition Classes
- FormEventAttrs
- lazy val oninvalid: generic.Attr
Script to be run when an element is invalid
Script to be run when an element is invalid
- Definition Classes
- FormEventAttrs
- lazy val onkeydown: generic.Attr
The keydown event is raised when the user presses a keyboard key.
The keydown event is raised when the user presses a keyboard key.
MDN
- Definition Classes
- KeyboardEventAttrs
- lazy val onkeypress: generic.Attr
The keypress event should be raised when the user presses a key on the keyboard.
The keypress event should be raised when the user presses a key on the keyboard. However, not all browsers fire keypress events for certain keys.
Webkit-based browsers (Google Chrome and Safari, for example) do not fire keypress events on the arrow keys. Firefox does not fire keypress events on modifier keys like SHIFT.
MDN
- Definition Classes
- KeyboardEventAttrs
- lazy val onkeyup: generic.Attr
The keyup event is raised when the user releases a key that's been pressed.
The keyup event is raised when the user releases a key that's been pressed.
MDN
- Definition Classes
- KeyboardEventAttrs
- lazy val onload: generic.Attr
The load event fires at the end of the document loading process.
The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading.
MDN
- Definition Classes
- WindowEventAttrs
- lazy val onloadeddata: generic.Attr
Script to be run when media data is loaded
Script to be run when media data is loaded
- Definition Classes
- MediaEventAttrs
- lazy val onloadedmetadata: generic.Attr
Script to be run when meta data (like dimensions and duration) are loaded
Script to be run when meta data (like dimensions and duration) are loaded
- Definition Classes
- MediaEventAttrs
- lazy val onloadstart: generic.Attr
Script to be run just as the file begins to load before anything is actually loaded
Script to be run just as the file begins to load before anything is actually loaded
- Definition Classes
- MediaEventAttrs
- lazy val onmessage: generic.Attr
Script to be run when the message is triggered
Script to be run when the message is triggered
- Definition Classes
- WindowEventAttrs
- lazy val onmousedown: generic.Attr
The mousedown event is raised when the user presses the mouse button.
The mousedown event is raised when the user presses the mouse button.
MDN
- Definition Classes
- MouseEventAttrs
- lazy val onmousemove: generic.Attr
The mousemove event is raised when the user moves the mouse.
The mousemove event is raised when the user moves the mouse.
MDN
- Definition Classes
- MouseEventAttrs
- lazy val onmouseout: generic.Attr
The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).
The mouseout event is raised when the mouse leaves an element (e.g, when the mouse moves off of an image in the web page, the mouseout event is raised for that image element).
MDN
- Definition Classes
- MouseEventAttrs
- lazy val onmouseover: generic.Attr
The mouseover event is raised when the user moves the mouse over a particular element.
The mouseover event is raised when the user moves the mouse over a particular element.
MDN
- Definition Classes
- MouseEventAttrs
- lazy val onmouseup: generic.Attr
The mouseup event is raised when the user releases the mouse button.
The mouseup event is raised when the user releases the mouse button.
MDN
- Definition Classes
- MouseEventAttrs
- lazy val onoffline: generic.Attr
Script to be run when the browser starts to work offline
Script to be run when the browser starts to work offline
- Definition Classes
- WindowEventAttrs
- lazy val ononline: generic.Attr
Script to be run when the browser starts to work online
Script to be run when the browser starts to work online
- Definition Classes
- WindowEventAttrs
- lazy val onpagehide: generic.Attr
Script to be run when a user navigates away from a page
Script to be run when a user navigates away from a page
- Definition Classes
- WindowEventAttrs
- lazy val onpageshow: generic.Attr
Script to be run when a user navigates to a page
Script to be run when a user navigates to a page
- Definition Classes
- WindowEventAttrs
- lazy val onpaste: generic.Attr
Fires when the user pastes some content in an element
Fires when the user pastes some content in an element
- Definition Classes
- ClipboardEventAttrs
- lazy val onpause: generic.Attr
Script to be run when the media is paused either by the user or programmatically
Script to be run when the media is paused either by the user or programmatically
- Definition Classes
- MediaEventAttrs
- lazy val onplay: generic.Attr
Script to be run when the media is ready to start playing
Script to be run when the media is ready to start playing
- Definition Classes
- MediaEventAttrs
- lazy val onplaying: generic.Attr
Script to be run when the media actually has started playing
Script to be run when the media actually has started playing
- Definition Classes
- MediaEventAttrs
- lazy val onpopstate: generic.Attr
Script to be run when the window's history changes
Script to be run when the window's history changes
- Definition Classes
- WindowEventAttrs
- lazy val onprogress: generic.Attr
Script to be run when the browser is in the process of getting the media data
Script to be run when the browser is in the process of getting the media data
- Definition Classes
- MediaEventAttrs
- lazy val onratechange: generic.Attr
Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)
Script to be run each time the playback rate changes (like when a user switches to a slow motion or fast forward mode)
- Definition Classes
- MediaEventAttrs
- lazy val onreset: generic.Attr
The reset event is fired when a form is reset.
The reset event is fired when a form is reset.
MDN
- Definition Classes
- FormEventAttrs
- lazy val onresize: generic.Attr
Fires when the browser window is resized
Fires when the browser window is resized
- Definition Classes
- WindowEventAttrs
- lazy val onscroll: generic.Attr
Specifies the function to be called when the window is scrolled.
Specifies the function to be called when the window is scrolled.
MDN
- Definition Classes
- MouseEventAttrs
- lazy val onsearch: generic.Attr
Fires when the user writes something in a search field (for <input="search">)
Fires when the user writes something in a search field (for <input="search">)
- Definition Classes
- FormEventAttrs
- lazy val onseeked: generic.Attr
Script to be run when the seeking attribute is set to false indicating that seeking has ended
Script to be run when the seeking attribute is set to false indicating that seeking has ended
- Definition Classes
- MediaEventAttrs
- lazy val onseeking: generic.Attr
Script to be run when the seeking attribute is set to true indicating that seeking is active
Script to be run when the seeking attribute is set to true indicating that seeking is active
- Definition Classes
- MediaEventAttrs
- lazy val onselect: generic.Attr
The select event only fires when text inside a text input or textarea is selected.
The select event only fires when text inside a text input or textarea is selected. The event is fired after the text has been selected.
MDN
- Definition Classes
- FormEventAttrs
- lazy val onshow: generic.Attr
Fires when a <menu> element is shown as a context menu
Fires when a <menu> element is shown as a context menu
- Definition Classes
- MiscellaneousEventAttrs
- lazy val onstalled: generic.Attr
Script to be run when the browser is unable to fetch the media data for whatever reason
Script to be run when the browser is unable to fetch the media data for whatever reason
- Definition Classes
- MediaEventAttrs
- lazy val onstorage: generic.Attr
Script to be run when a Web Storage area is updated
Script to be run when a Web Storage area is updated
- Definition Classes
- WindowEventAttrs
- lazy val onsubmit: generic.Attr
The submit event is raised when the user clicks a submit button in a form (). MDN
The submit event is raised when the user clicks a submit button in a form (). MDN
- Definition Classes
- FormEventAttrs
- lazy val onsuspend: generic.Attr
Script to be run when fetching the media data is stopped before it is completely loaded for whatever reason
Script to be run when fetching the media data is stopped before it is completely loaded for whatever reason
- Definition Classes
- MediaEventAttrs
- lazy val ontimeupdate: generic.Attr
Script to be run when the playing position has changed (like when the user fast forwards to a different point in the media)
Script to be run when the playing position has changed (like when the user fast forwards to a different point in the media)
- Definition Classes
- MediaEventAttrs
- lazy val ontoggle: generic.Attr
Fires when the user opens or closes the <details> element
Fires when the user opens or closes the <details> element
- Definition Classes
- MiscellaneousEventAttrs
- lazy val onunload: generic.Attr
Fires once a page has unloaded (or the browser window has been closed)
Fires once a page has unloaded (or the browser window has been closed)
- Definition Classes
- WindowEventAttrs
- lazy val onvolumechange: generic.Attr
Script to be run each time the volume is changed which (includes setting the volume to "mute")
Script to be run each time the volume is changed which (includes setting the volume to "mute")
- Definition Classes
- MediaEventAttrs
- lazy val onwaiting: generic.Attr
Script to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)
Script to be run when the media has paused but is expected to resume (like when the media pauses to buffer more data)
- Definition Classes
- MediaEventAttrs
- lazy val onwheel: generic.Attr
Fires when the mouse wheel rolls up or down over an element
Fires when the mouse wheel rolls up or down over an element
- Definition Classes
- MouseEventAttrs
- lazy val opacity: generic.Style
The opacity CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid.
The opacity CSS property specifies the transparency of an element, that is, the degree to which the background behind the element is overlaid.
The value applies to the element as a whole, including its contents, even though the value is not inherited by child elements. Thus, an element and its contained children all have the same opacity relative to the element's background, even if the element and its children have different opacities relative to one another.
Using this property with a value different than 1 places the element in a new stacking context.
MDN
- Definition Classes
- Styles
- lazy val optgroup: ConcreteHtmlTag[OptGroup]
A set of options, logically grouped.
- lazy val optimum: generic.Attr
For use in <meter> tags.
For use in <meter> tags.
- Definition Classes
- Attrs
- See also
https://css-tricks.com/html5-meter-element/
- lazy val option: ConcreteHtmlTag[Option]
An option in a select element.
- lazy val outline: generic.Style
The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule.
The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient.
Outlines do not take up space, they are drawn above the content.
MDN
- Definition Classes
- Styles
- lazy val outlineStyle: OutlineStyle
The outline-style CSS property is used to set the style of the outline of an element.
The outline-style CSS property is used to set the style 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
- Definition Classes
- Styles
- lazy val overflowX: Overflow
The overflow-x CSS property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges.
The overflow-x CSS property specifies whether to clip content, render a scroll bar or display overflow content of a block-level element, when it overflows at the left and right edges.
MDN
- Definition Classes
- Styles
- lazy val overflowY: Overflow
The overflow-y CSS property specifies whether to clip content, render a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges.
The overflow-y CSS property specifies whether to clip content, render a scroll bar, or display overflow content of a block-level element, when it overflows at the top and bottom edges.
MDN
- Definition Classes
- Styles
- lazy val p: ConcreteHtmlTag[Paragraph]
Defines a portion that should be displayed as a paragraph.
- lazy val padding: PixelStyle
The padding CSS property sets the required padding space on all sides of an element.
The padding CSS property sets the required padding space on all sides of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed.
The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left).
MDN
- Definition Classes
- Styles
- lazy val paddingBottom: PixelStyle
The padding-bottom CSS property of an element sets the height of the padding area at the bottom of an element.
The padding-bottom CSS property of an element sets the height of the padding area at the bottom of an element. The padding area is the space between the content of the element and it's border. Contrary to margin-bottom values, negative values of padding-bottom are invalid.
MDN
- Definition Classes
- Styles
- lazy val paddingLeft: PixelStyle
The padding-left CSS property of an element sets the padding space required on the left side of an element.
The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and it's border. A negative value is not allowed.
MDN
- Definition Classes
- Styles
- lazy val paddingRight: PixelStyle
The padding-right CSS property of an element sets the padding space required on the right side of an element.
The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Negative values are not allowed.
MDN
- Definition Classes
- Styles
- lazy val paddingTop: PixelStyle
The padding-top CSS property of an element sets the padding space required on the top of an element.
The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid.
MDN
- Definition Classes
- Styles
- lazy val param: ConcreteHtmlTag[Param]
Defines parameters for use by plug-ins invoked by object elements.
- lazy val pattern: generic.Attr
Specifies a regular expression to validate the input.
Specifies a regular expression to validate the input. The pattern attribute works with the following input types: text, search, url, tel, email, and password. Use the
title
attribute to describe the pattern to the user.- Definition Classes
- InputAttrs
- lazy val placeholder: generic.Attr
A hint to the user of what can be entered in the control.
A hint to the user of what can be entered in the control. The placeholder text must not contain carriage returns or line-feeds. This attribute applies when the value of the type attribute is text, search, tel, url or email; otherwise it is ignored.
MDN
- Definition Classes
- InputAttrs
- lazy val pre: ConcreteHtmlTag[Pre]
Indicates that its content is preformatted and that this format must be preserved.
- def raw(s: String): JsDom.RawFrag
Delimits a string that should be included in the result as raw, un-escaped HTML
- lazy val readonly: generic.AttrPair[Element, String]
This Boolean attribute indicates that the user cannot modify the value of the control.
This Boolean attribute indicates that the user cannot modify the value of the control. This attribute is ignored if the value of the type attribute is hidden, range, color, checkbox, radio, file, or a button type.
MDN
- Definition Classes
- InputAttrs
- lazy val rel: generic.Attr
This attribute names a relationship of the linked document to the current document.
This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the link types values. The most common use of this attribute is to specify a link to an external style sheet: the rel attribute is set to stylesheet, and the href attribute is set to the URL of an external style sheet to format the page.
MDN
- Definition Classes
- Attrs
- lazy val required: generic.AttrPair[Element, String]
This attribute specifies that the user must fill in a value before submitting a form.
This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or button). The :optional and :required CSS pseudo-classes will be applied to the field as appropriate.
MDN
- Definition Classes
- InputAttrs
- lazy val right: PixelAutoStyle
The right CSS property specifies part of the position of positioned elements.
The right CSS property specifies part of the position of positioned elements.
For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the right margin edge of the element and the right edge of its containing block.
The right property has no effect on non-positioned elements.
When both the right CSS property and the left CSS property are defined, the position of the element is overspecified. In that case, the left value has precedence when the container is left-to-right (that is that the right computed value is set to -left), and the right value has precedence when the container is right-to-left (that is that the left computed value is set to -right).
MDN
- Definition Classes
- Styles
- lazy val role: generic.Attr
The attribute describes the role(s) the current element plays in the context of the document.
The attribute describes the role(s) the current element plays in the context of the document. This can be used, for example, by applications and assistive technologies to determine the purpose of an element. This could allow a user to make informed decisions on which actions may be taken on an element and activate the selected action in a device independent way. It could also be used as a mechanism for annotating portions of a document in a domain specific way (e.g., a legal term taxonomy). Although the role attribute may be used to add semantics to an element, authors should use elements with inherent semantics, such as p, rather than layering semantics on semantically neutral elements, such as div role="paragraph".
See: http://www.w3.org/TR/role-attribute/#s_role_module_attributes
- Definition Classes
- Attrs
- lazy val rows: generic.Attr
The number of visible text lines for the control.
The number of visible text lines for the control.
MDN
- Definition Classes
- Attrs
- lazy val rowspan: generic.Attr
This attribute contains a non-negative integer value that indicates for how many rows the cell extends.
This attribute contains a non-negative integer value that indicates for how many rows the cell extends. Its default value is 1; if its value is set to 0, it extends until the end of the table section (,
, , even if implicitly defined, that the cell belongs to. Values higher than 65534 are clipped down to 65534. MDN- Definition Classes
- Attrs
- lazy val s: ConcreteHtmlTag[Element]
Strikethrough element, used for that is no longer accurate or relevant.
- lazy val scoped: generic.Attr
For use in <style> tags.
For use in <style> tags.
If this attribute is present, then the style applies only to its parent element. If absent, the style applies to the whole document.
- Definition Classes
- Attrs
- lazy val script: ConcreteHtmlTag[Script]
Defines either an internal script or a link to an external script.
- lazy val select: ConcreteHtmlTag[Select]
A control that allows the user to select one of a set of options.
- lazy val selected: generic.AttrPair[Element, String]
Indicates a selected option in an option list of a
Indicates a selected option in an option list of a
- Definition Classes
- FormEventAttrs
- implicit val shortAttr: AttrValue[Short]
- Definition Classes
- Aggregate
- implicit def shortFrag(v: Short): Frag
- Definition Classes
- Aggregate
- implicit val shortPixelStyle: PixelStyleValue[Short]
- Definition Classes
- Aggregate
- implicit val shortStyle: StyleValue[Short]
- Definition Classes
- Aggregate
- lazy val size: generic.Attr
The initial size of the control.
The initial size of the control. This value is in pixels unless the value of the type attribute is text or password, in which case, it is an integer number of characters. Starting in HTML5, this attribute applies only when the type attribute is set to text, search, tel, url, email, or password; otherwise it is ignored. In addition, the size must be greater than zero. If you don't specify a size, a default value of 20 is used.
MDN
- Definition Classes
- InputAttrs
- lazy val small: ConcreteHtmlTag[Element]
Represents a side comment; text like a disclaimer or copyright, which is not essential to the comprehension of the document.
- lazy val source: ConcreteHtmlTag[Source]
Allows the authors to specify alternate media resources for media elements like video or audio
- lazy val span: ConcreteHtmlTag[Span]
Represents text with no specific meaning.
- lazy val spellcheck: generic.AttrPair[Element, String]
This enumerated attribute defines whether the element may be checked for spelling errors.
This enumerated attribute defines whether the element may be checked for spelling errors.
MDN
- Definition Classes
- GlobalAttrs
- lazy val src: generic.Attr
If the value of the type attribute is image, this attribute specifies a URI for the location of an image to display on the graphical submit button; otherwise it is ignored.
If the value of the type attribute is image, this attribute specifies a URI for the location of an image to display on the graphical submit button; otherwise it is ignored.
MDN
- Definition Classes
- Attrs
- lazy val step: generic.Attr
The step attribute specifies the numeric intervals for an element that should be considered legal for the input. For example, if step is 2 on a number typed then the legal numbers could be -2, 0, 2, 4, 6 etc. The step attribute should be used in conjunction with the min and max attributes to specify the full range and interval of the legal values. The step attribute is applicable to elements of the following types: number, range, date, datetime, datetime-local, month, time and week.
The step attribute specifies the numeric intervals for an element that should be considered legal for the input. For example, if step is 2 on a number typed then the legal numbers could be -2, 0, 2, 4, 6 etc. The step attribute should be used in conjunction with the min and max attributes to specify the full range and interval of the legal values. The step attribute is applicable to elements of the following types: number, range, date, datetime, datetime-local, month, time and week.
- Definition Classes
- InputAttrs
- implicit val stringAttr: AttrValue[String]
- Definition Classes
- Aggregate
- implicit def stringAttrX: GenericAttr[String]
- implicit def stringFrag(v: String): StringFrag
- implicit val stringPixelStyle: PixelStyleValue[String]
- Definition Classes
- Aggregate
- implicit def stringPixelStyleX: GenericPixelStyle[String]
- implicit val stringStyle: StyleValue[String]
- Definition Classes
- Aggregate
- implicit def stringStyleX: GenericStyle[String]
- lazy val strong: ConcreteHtmlTag[Element]
Represents especially important text.
- lazy val style: generic.Attr
This attribute contains CSS styling declarations to be applied to the element.
This attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the style element have mainly the purpose of allowing for quick styling, for example for testing purposes.
MDN
- Definition Classes
- GlobalAttrs
- lazy val sub: ConcreteHtmlTag[Element]
Subscript tag
- lazy val sup: ConcreteHtmlTag[Element]
Superscript tag.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val tabindex: generic.Attr
This integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position.
This integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position. It can takes several values:
- a negative value means that the element should be focusable, but should not be reachable via sequential keyboard navigation; - 0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention; - a positive value which means should be focusable and reachable via sequential keyboard navigation; its relative order is defined by the value of the attribute: the sequential follow the increasing number of the tabindex. If several elements share the same tabindex, their relative order follows their relative position in the document).
An element with a 0 value, an invalid value, or no tabindex value should be placed after elements with a positive tabindex in the sequential keyboard navigation order.
- Definition Classes
- GlobalAttrs
- lazy val table: ConcreteHtmlTag[Table]
Represents data with more than one dimension.
- def tag(s: String, void: Boolean = false): ConcreteHtmlTag[Element]
- Definition Classes
- TagFactory → Util
- lazy val target: generic.Attr
A name or keyword indicating where to display the response that is received after submitting the form.
A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:
- _self: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified. - _blank: Load the response into a new unnamed HTML 4 window or HTML5 browsing context. - _parent: Load the response into the HTML 4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self. - _top: HTML 4: Load the response into the full, original window, canceling all other frames. HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self. - iframename: The response is displayed in a named iframe.
- Definition Classes
- InputAttrs
- lazy val tbody: ConcreteHtmlTag[TableSection]
The table body.
- lazy val td: ConcreteHtmlTag[TableCell]
A single cell in a table.
- lazy val textAlign: generic.Style with TextAlign
The text-align CSS property describes how inline content like text is aligned in its parent block element.
The text-align CSS property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements itself, only their inline content.
MDN
- Definition Classes
- Styles
- lazy val textAlignLast: generic.Style with TextAlign
The text-align-last CSS property describes how the last line of a block or a line, right before a forced line break, is aligned.
The text-align-last CSS property describes how the last line of a block or a line, right before a forced line break, is aligned.
MDN
- Definition Classes
- Styles
- lazy val textIndent: generic.Style
The text-indent CSS property specifies how much horizontal space should be left before the beginning of the first line of the text content of an element.
The text-indent CSS property specifies how much horizontal space should be left before the beginning of the first line of the text content of an element. Horizontal spacing is with respect to the left (or right, for right-to-left layout) edge of the containing block element's box.
MDN
- Definition Classes
- Styles
- lazy val textShadow: NoneOpenStyle
The text-shadow CSS property adds shadows to text.
The text-shadow CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and text-decorations of the element.
Each shadow is specified as an offset from the text, along with optional color and blur radius values.
Multiple shadows are applied front-to-back, with the first-specified shadow on top.
MDN
- Definition Classes
- Styles
- lazy val textarea: ConcreteHtmlTag[TextArea]
A multiline text edit control.
- lazy val tfoot: ConcreteHtmlTag[TableSection]
The table footer.
- lazy val th: ConcreteHtmlTag[TableHeaderCell]
A header cell in a table.
- lazy val thead: ConcreteHtmlTag[TableSection]
The table headers.
- lazy val title: generic.Attr
This attribute contains a text representing advisory information related to the element it belongs too.
This attribute contains a text representing advisory information related to the element it belongs too. Such information can typically, but not necessarily, be presented to the user as a tooltip.
MDN
- Definition Classes
- GlobalAttrs
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val top: PixelAutoStyle
The top CSS property specifies part of the position of positioned elements.
The top CSS property specifies part of the position of positioned elements. It has no effect on non-positioned elements.
For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the top margin edge of the element and the top edge of its containing block.
For relatively positioned elements (those with position: relative), it specifies the amount the element is moved below its normal position.
When both top and bottom are specified, the element position is over-constrained and the top property has precedence: the computed value of bottom is set to -top, while its specified value is ignored.
MDN
- Definition Classes
- Styles
- lazy val tpe: generic.Attr
Shorthand for the
type
attributeShorthand for the
type
attribute- Definition Classes
- InputAttrs
- lazy val tr: ConcreteHtmlTag[TableRow]
A single row in a table.
- lazy val track: ConcreteHtmlTag[Track]
Allows authors to specify timed text track for media elements like video or audio
- lazy val transition: generic.Style
The CSS transition property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay.
The CSS transition property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay. It allows to define the transition between two states of an element. Different states may be defined using pseudo-classes like :hover or :active or dynamically set using JavaScript.
MDN
- Definition Classes
- Styles
- lazy val transitionDelay: MultiTimeStyle
The transition-delay CSS property specifies the amount of time to wait between a change being requested to a property that is to be transitioned and the start of the transition effect.
The transition-delay CSS property specifies the amount of time to wait between a change being requested to a property that is to be transitioned and the start of the transition effect.
A value of 0s, or 0ms, indicates that the property will begin to animate its transition immediately when the value changes; positive values will delay the start of the transition effect for the corresponding number of seconds. Negative values cause the transition to begin immediately, but to cause the transition to seem to begin partway through the animation effect.
You may specify multiple delays; each delay will be applied to the corresponding property as specified by the transition-property property, which acts as a master list. If there are fewer delays specified than in the master list, missing values are set to the initial value (0s). If there are more delays, the list is simply truncated to the right size. In both case the CSS declaration stays valid.
MDN
- Definition Classes
- Styles
- lazy val transitionDuration: MultiTimeStyle
The transition-duration CSS property specifies the number of seconds or milliseconds a transition animation should take to complete.
The transition-duration CSS property specifies the number of seconds or milliseconds a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur.
You may specify multiple durations; each duration will be applied to the corresponding property as specified by the transition-property property, which acts as a master list. If there are fewer durations specified than in the master list, the user agent repeat the list of durations. If there are more durations, the list is simply truncated to the right size. In both case the CSS declaration stays valid.
MDN
- Definition Classes
- Styles
- lazy val transitionProperty: generic.Style
The transition-property CSS property is used to specify the names of CSS properties to which a transition effect should be applied.
The transition-property CSS property is used to specify the names of CSS properties to which a transition effect should be applied.
MDN
- Definition Classes
- Styles
- lazy val transitionTimingFunction: generic.Style
The CSS transition-timing-function property is used to describe how the intermediate values of the CSS properties being affected by a transition effect are calculated.
The CSS transition-timing-function property is used to describe how the intermediate values of the CSS properties being affected by a transition effect are calculated. This in essence lets you establish an acceleration curve, so that the speed of the transition can vary over its duration.
MDN
- Definition Classes
- Styles
- lazy val translate: generic.AttrPair[Element, String]
Specifies whether the content of an element should be translated or not
Specifies whether the content of an element should be translated or not
- Definition Classes
- GlobalAttrs
- lazy val type: generic.Attr
This attribute is used to define the type of the content linked to.
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
- Definition Classes
- InputAttrs
- def typedTag[T <: Element](s: String, void: Boolean = false)(implicit ns: Namespace): ConcreteHtmlTag[T]
- Definition Classes
- TagFactory
- lazy val u: ConcreteHtmlTag[Element]
Underlined text.
- lazy val ul: ConcreteHtmlTag[UList]
Defines an unordered list of items.
- lazy val unselectable: generic.Attr
IE-specific property to prevent user selection
IE-specific property to prevent user selection
- Definition Classes
- Attrs
- lazy val value: generic.Attr
The initial value of the control.
The initial value of the control. This attribute is optional except when the value of the type attribute is radio or checkbox.
MDN
- Definition Classes
- InputAttrs
- lazy val video: ConcreteHtmlTag[Video]
Represents a video, and its associated audio files and captions, with the necessary interface to play it.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- lazy val wbr: ConcreteHtmlTag[Element]
Represents a line break opportunity, that is a suggested point for wrapping text in order to improve readability of text split on several lines.
- lazy val width: PixelAutoStyle
The width CSS property specifies the width of the content area of an element.
The width CSS property specifies the width of the content area of an element. The content area is inside the padding, border, and margin of the element.
The min-width and max-width properties override width.
MDN
- Definition Classes
- Styles
- lazy val widthA: generic.Attr
The
width
attribute specifies the width of aninput
element oftype
"image".The
width
attribute specifies the width of aninput
element oftype
"image".- Definition Classes
- InputAttrs
- lazy val wordSpacing: NormalOpenStyle
The word-spacing CSS property specifies spacing behavior between tags and words.
The word-spacing CSS property specifies spacing behavior between tags and words.
MDN
- Definition Classes
- Styles
- lazy val wrap: generic.Attr
Indicates how the control wraps text.
Indicates how the control wraps text. Possible values are:
hard: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the cols attribute must be specified. soft: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.
If this attribute is not specified, soft is its default value.
MDN
- Definition Classes
- Attrs
- lazy val xmlns: generic.Attr
- Definition Classes
- Attrs
- lazy val zIndex: AutoStyle
The z-index CSS property specifies the z-order of an element and its descendants.
The z-index CSS property specifies the z-order of an element and its descendants. When elements overlap, z-order determines which one covers the other. An element with a larger z-index generally covers an element with a lower one.
MDN
- Definition Classes
- Styles
- implicit object bindJsAny extends AttrValue[Element, Any]
- Definition Classes
- LowPriorityImplicits
- object aria
ARIA is a set of special accessibility attributes which can be added to any markup, but is especially suited to HTML.
ARIA is a set of special accessibility attributes which can be added to any markup, but is especially suited to HTML. The role attribute defines what the general type of object is (such as an article, alert, or slider). Additional ARIA attributes provide other useful properties, such as a description for a form or the current value of a progressbar.
MDN
- Definition Classes
- Attrs
- object data extends DataAttribute
This class of attributes, called custom data attributes, allows proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts.
This class of attributes, called custom data attributes, allows proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts. All such custom data are available via the HTMLElement interface of the element the attribute is set on. The HTMLElement.dataset property gives access to them.
The * may be replaced by any name following the production rule of xml names with the following restrictions:
the name must not start with xml, whatever case is used for these letters; the name must not contain any semicolon (U+003A); the name must not contain capital A to Z letters.
Note that the HTMLElement.dataset attribute is a StringMap and the name of the custom data attribute data-test-value will be accessible via HTMLElement.dataset.testValue as any dash (U+002D) is replaced by the capitalization of the next letter (camelcase).
MDN
- Definition Classes
- GlobalAttrs
- object alignContent extends Style
The CSS align-content property aligns a flex container's lines within the flex container when there is extra space on the cross-axis.
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
- Definition Classes
- Styles
- object alignItems extends Style
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
- Definition Classes
- Styles
- object alignSelf extends Style
The align-self CSS property aligns flex items of the current flex line overriding the align-items value.
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
- Definition Classes
- Styles
- object backgroundAttachment extends Style
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
- Definition Classes
- Styles
- object backgroundClip extends Style
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
- Definition Classes
- Styles
- object backgroundOrigin extends Style
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
- Definition Classes
- Styles
- object backgroundSize extends Style
The background-size CSS property specifies the size of the background images.
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
- Definition Classes
- Styles
- object borderCollapse extends Style
The border-collapse CSS property selects a table's border model.
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
- Definition Classes
- Styles
- object borderSpacing extends Style
The border-spacing CSS property specifies the distance between the borders of adjacent cells (only for the separated borders model).
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
- Definition Classes
- Styles
- object boxSizing extends Style
The box-sizing CSS property is used to alter the default CSS box model used to calculate widths and heights of elements.
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
- Definition Classes
- Styles
- object captionSide extends Style
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
- Definition Classes
- Styles
- object clear extends Style
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
- Definition Classes
- Styles
- object clip extends Style
The clip CSS property defines what portion of an element is visible.
The clip CSS property defines what portion of an element is visible. The clip property applies only to elements with position:absolute.
MDN
- Definition Classes
- Styles
- object color extends CurrentColor
The CSS color property sets the foreground color of an element's text content, and its decorations.
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
- Definition Classes
- Styles
- object cursor extends Style
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
- Definition Classes
- Styles
- object direction extends Style
Set the direction CSS property to match the direction of the text: rtl for Hebrew or Arabic text and ltr for other scripts.
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
- Definition Classes
- Styles
- object display extends Style
The display CSS property specifies the type of rendering box used for an element.
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
- Definition Classes
- Styles
- object emptyCells extends Style
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
- Definition Classes
- Styles
- object flexDirection extends Style
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
- Definition Classes
- Styles
- object flexWrap extends Style
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
- Definition Classes
- Styles
- object float extends Style
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.
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
- Definition Classes
- Styles
- object fontSize extends PixelStyle
The font-size CSS property specifies the size of the font – specifically the desired height of glyphs from the font.
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
- Definition Classes
- Styles
- object fontStyle extends Style
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
- Definition Classes
- Styles
- object fontWeight extends Style
The font-weight CSS property specifies the weight or boldness of the font.
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
- Definition Classes
- Styles
- object justifyContent extends Style
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 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
- Definition Classes
- Styles
- object listStyleImage extends Style
The list-style-image CSS property sets the image that will be used as the list item marker.
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
- Definition Classes
- Styles
- object listStylePosition extends Style
The list-style-position CSS property specifies the position of the marker box in the principal block box.
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
- Definition Classes
- Styles
- object listStyleType extends Style
The list-style-type CSS property specifies appearance of a list item element.
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
- Definition Classes
- Styles
- object margin extends PixelStyle
The margin CSS property sets the margin for all four sides.
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
- Definition Classes
- Styles
- object mask extends Style
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
- Definition Classes
- Styles
- object outlineColor extends Style
The outline-color CSS property sets the color of the outline of an element.
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
- Definition Classes
- Styles
- object outlineWidth extends Style
The outline-width CSS property is used to set the width of the outline of an element.
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
- Definition Classes
- 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
- Definition Classes
- Styles
- object pointerEvents extends Style
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.
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
- Definition Classes
- Styles
- object position extends Style
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
- Definition Classes
- Styles
- object quotes extends Style
- Definition Classes
- Styles
- object tableLayout extends Style
- Definition Classes
- Styles
- object textDecoration extends Style
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
- Definition Classes
- Styles
- object textOverflow extends Style
The text-overflow CSS property determines how overflowed content that is not displayed is signaled to the users.
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
- Definition Classes
- Styles
- object textTransform extends Style
The text-transform CSS property specifies how to capitalize an element's text.
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
- Definition Classes
- Styles
- object textUnderlinePosition extends Style
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
- Definition Classes
- Styles
- object verticalAlign extends Style
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
- Definition Classes
- Styles
- object visibility extends Style
- Definition Classes
- Styles
- object whiteSpace extends Style
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
- Definition Classes
- Styles
- object wordWrap extends Style
- Definition Classes
- Styles
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
Inherited from LowPriorityImplicits
Inherited from Aggregate
Inherited from generic.Aggregate[Element, Element, Node]
Inherited from Aliases[Element, Element, Node]
Inherited from DataConverters
Inherited from jsdom.Tags
Inherited from generic.Tags[Element, Element, Node]
Inherited from generic.Styles[Element, Element, Node]
Inherited from StyleMisc[Element, Element, Node]
Inherited from generic.Attrs[Element, Element, Node]
Inherited from FormEventAttrs[Element, Element, Node]
Inherited from WindowEventAttrs[Element, Element, Node]
Inherited from MouseEventAttrs[Element, Element, Node]
Inherited from KeyboardEventAttrs[Element, Element, Node]
Inherited from MiscellaneousEventAttrs[Element, Element, Node]
Inherited from MediaEventAttrs[Element, Element, Node]
Inherited from SharedEventAttrs[Element, Element, Node]
Inherited from ClipboardEventAttrs[Element, Element, Node]
Inherited from InputAttrs[Element, Element, Node]
Inherited from GlobalAttrs[Element, Element, Node]
Inherited from Cap
Inherited from TagFactory
Inherited from generic.Util[Element, Element, Node]
Inherited from LowPriUtil[Element, Element, Node]
Inherited from AnyRef
Inherited from Any
Ungrouped