scalatags

short

object short extends Tags with DataConverters

Convenience object to help import all Tags, and DataConverters, while aliases Attrs as attr and Styles as css. Used via import scalatags.short._

Linear Supertypes
DataConverters, Tags, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. short
  2. DataConverters
  3. Tags
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CssNumber 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
  2. implicit class HexColorHelper extends AnyRef

    Definition Classes
    DataConverters

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. object * extends Attrs with Styles

  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. implicit def Byte2CssNumber(x: Byte): CssNumber

    Definition Classes
    DataConverters
  6. implicit def Double2CssNumber(x: Double): CssNumber

    Definition Classes
    DataConverters
  7. implicit def Float2CssNumber(x: Float): CssNumber

    Definition Classes
    DataConverters
  8. implicit def Int2CssNumber(x: Int): CssNumber

    Definition Classes
    DataConverters
  9. implicit def Long2CssNumber(x: Long): CssNumber

    Definition Classes
    DataConverters
  10. implicit def Short2CssNumber(x: Short): CssNumber

    Definition Classes
    DataConverters
  11. val a: TypedHtmlTag[HTMLAnchorElement]

    Represents a hyperlink, linking to another resource.

    Represents a hyperlink, linking to another resource.

    MDN

    Definition Classes
    Tags
  12. val area: TypedHtmlTag[HTMLAreaElement]

    In conjunction with map, defines an image map

    In conjunction with map, defines an image map

    MDN

    Definition Classes
    Tags
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. val audio: TypedHtmlTag[HTMLAudioElement]

    Represents a sound or an audio stream.

    Represents a sound or an audio stream.

    MDN

    Definition Classes
    Tags
  15. val b: TypedHtmlTag[HTMLElement]

    Bold text.

    Bold text.

    MDN

    Definition Classes
    Tags
  16. val base: TypedHtmlTag[HTMLBaseElement]

    Defines the base URL for relative URLs in the page.

    Defines the base URL for relative URLs in the page.

    MDN

    Definition Classes
    Tags
  17. val blockquote: TypedHtmlTag[HTMLQuoteElement]

    Represents a content that is quoted from another source.

    Represents a content that is quoted from another source.

    MDN

    Definition Classes
    Tags
  18. val body: TypedHtmlTag[HTMLBodyElement]

    Represents the content of an HTML document.

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

    MDN

    Definition Classes
    Tags
  19. val br: TypedHtmlTag[HTMLBRElement]

    Represents a line break.

    Represents a line break.

    MDN

    Definition Classes
    Tags
  20. val button: TypedHtmlTag[HTMLButtonElement]

    A button

    A button

    MDN

    Definition Classes
    Tags
  21. val canvas: TypedHtmlTag[HTMLCanvasElement]

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

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

    MDN

    Definition Classes
    Tags
  22. val caption: TypedHtmlTag[HTMLTableCaptionElement]

    The title of a table.

    The title of a table.

    MDN

    Definition Classes
    Tags
  23. val cite: TypedHtmlTag[HTMLElement]

    Represents the title of a work being cited.

    Represents the title of a work being cited.

    MDN

    Definition Classes
    Tags
  24. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val code: TypedHtmlTag[HTMLElement]

    Represents computer code.

    Represents computer code.

    MDN

    Definition Classes
    Tags
  26. val col: TypedHtmlTag[HTMLTableColElement]

    A single column.

    A single column.

    MDN

    Definition Classes
    Tags
  27. val colgroup: TypedHtmlTag[HTMLTableColElement]

    A set of columns.

    A set of columns.

    MDN

    Definition Classes
    Tags
  28. val datalist: TypedHtmlTag[HTMLDataListElement]

    A set of predefined options for other controls.

    A set of predefined options for other controls.

    MDN

    Definition Classes
    Tags
  29. val dd: TypedHtmlTag[HTMLDDElement]

    Represents the definition of the terms immediately listed before it.

    Represents the definition of the terms immediately listed before it.

    MDN

    Definition Classes
    Tags
  30. val del: TypedHtmlTag[HTMLModElement]

    Defines a removal from the document.

    Defines a removal from the document.

    MDN

    Definition Classes
    Tags
  31. val div: TypedHtmlTag[HTMLDivElement]

    Represents a generic container with no special meaning.

    Represents a generic container with no special meaning.

    MDN

    Definition Classes
    Tags
  32. val dl: TypedHtmlTag[HTMLDListElement]

    Defines a definition list; al ist of terms and their associated definitions.

    Defines a definition list; al ist of terms and their associated definitions.

    MDN

    Definition Classes
    Tags
  33. val dt: TypedHtmlTag[HTMLDTElement]

    Represents a term defined by the next dd

    Represents a term defined by the next dd

    MDN

    Definition Classes
    Tags
  34. def element(s: String): Element

    Definition Classes
    DataConverters
  35. val em: TypedHtmlTag[HTMLElement]

    Represents emphasized text.

    Represents emphasized text.

    MDN

    Definition Classes
    Tags
  36. val embed: TypedHtmlTag[HTMLEmbedElement]

    Represents a integration point for an external, often non-HTML, application or interactive content.

    Represents a integration point for an external, often non-HTML, application or interactive content.

    MDN

    Definition Classes
    Tags
  37. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  39. val fieldset: TypedHtmlTag[HTMLFieldSetElement]

    A set of fields.

    A set of fields.

    MDN

    Definition Classes
    Tags
  40. val figcaption: TypedHtmlTag[HTMLElement]

    Represents the legend of a figure.

    Represents the legend of a figure.

    MDN

    Definition Classes
    Tags
  41. val figure: TypedHtmlTag[HTMLElement]

    Represents a figure illustrated as part of the document.

    Represents a figure illustrated as part of the document.

    MDN

    Definition Classes
    Tags
  42. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  43. val footer: TypedHtmlTag[HTMLElement]

    Defines the footer for a page or section.

    Defines the footer for a page or section. It often contains a copyright notice, some links to legal information, or addresses to give feedback.

    MDN

    Definition Classes
    Tags
  44. val form: TypedHtmlTag[HTMLFormElement]

    Represents a form, consisting of controls, that can be submitted to a server for processing.

    Represents a form, consisting of controls, that can be submitted to a server for processing.

    MDN

    Definition Classes
    Tags
  45. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  46. val h1: TypedHtmlTag[HTMLHeadingElement]

    Heading level 1

    Heading level 1

    MDN

    Definition Classes
    Tags
  47. val h2: TypedHtmlTag[HTMLHeadingElement]

    Heading level 2

    Heading level 2

    MDN

    Definition Classes
    Tags
  48. val h3: TypedHtmlTag[HTMLHeadingElement]

    Heading level 3

    Heading level 3

    MDN

    Definition Classes
    Tags
  49. val h4: TypedHtmlTag[HTMLHeadingElement]

    Heading level 4

    Heading level 4

    MDN

    Definition Classes
    Tags
  50. val h5: TypedHtmlTag[HTMLHeadingElement]

    Heading level 5

    Heading level 5

    MDN

    Definition Classes
    Tags
  51. val h6: TypedHtmlTag[HTMLHeadingElement]

    Heading level 6

    Heading level 6

    MDN

    Definition Classes
    Tags
  52. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  53. val head: TypedHtmlTag[HTMLHeadElement]

    Represents a collection of metadata about the document, including links to, or definitions of, scripts and style sheets.

    Represents a collection of metadata about the document, including links to, or definitions of, scripts and style sheets.

    MDN

    Definition Classes
    Tags
  54. val header: TypedHtmlTag[HTMLElement]

    Defines the header of a page or section.

    Defines the header of a page or section. It often contains a logo, the title of the Web site, and a navigational table of content.

    MDN

    Definition Classes
    Tags
  55. val hr: TypedHtmlTag[HTMLHRElement]

    Represents a thematic break between paragraphs of a section or article or any longer content.

    Represents a thematic break between paragraphs of a section or article or any longer content.

    MDN

    Definition Classes
    Tags
  56. def hsl(h: Int, s: Int, l: Int): Hsl

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100)

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100)

    Definition Classes
    DataConverters
  57. def hsla(h: Int, s: Int, l: Int, a: Double): Hsla

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100) as well as an alpha (opacity) from 0.

    A color represented as Hue (0-360), Saturation (0-100) and Lightness (0-100) as well as an alpha (opacity) from 0.0 to 1.0

    Definition Classes
    DataConverters
  58. val html: TypedHtmlTag[HTMLHtmlElement]

    Represents the root of an HTML or XHTML document.

    Represents the root of an HTML or XHTML document. All other elements must be descendants of this element.

    MDN

    Definition Classes
    Tags
  59. val i: TypedHtmlTag[HTMLElement]

    Italicized text.

    Italicized text.

    MDN

    Definition Classes
    Tags
  60. val iframe: TypedHtmlTag[HTMLIFrameElement]

    Represents a nested browsing context, that is an embedded HTML document.

    Represents a nested browsing context, that is an embedded HTML document.

    MDN

    Definition Classes
    Tags
  61. val img: TypedHtmlTag[HTMLImageElement]

    Represents an image.

    Represents an image.

    MDN

    Definition Classes
    Tags
  62. val input: TypedHtmlTag[HTMLInputElement]

    A typed data field allowing the user to input data.

    A typed data field allowing the user to input data.

    MDN

    Definition Classes
    Tags
  63. val ins: TypedHtmlTag[HTMLModElement]

    Defines an addition to the document.

    Defines an addition to the document.

    MDN

    Definition Classes
    Tags
  64. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  65. val label: TypedHtmlTag[HTMLLabelElement]

    The caption of a single field

    The caption of a single field

    MDN

    Definition Classes
    Tags
  66. val legend: TypedHtmlTag[HTMLLegendElement]

    The caption for a fieldset.

    The caption for a fieldset.

    MDN

    Definition Classes
    Tags
  67. val li: TypedHtmlTag[HTMLLIElement]

    Defines an item of an list.

    Defines an item of an list.

    MDN

    Definition Classes
    Tags
  68. def linearGradient(direction: String, colors: ColorStop*): LinearGradient

    Definition Classes
    DataConverters
  69. val link: TypedHtmlTag[HTMLLinkElement]

    Used to link JavaScript and external CSS with the current HTML document.

    Used to link JavaScript and external CSS with the current HTML document.

    MDN

    Definition Classes
    Tags
  70. val map: TypedHtmlTag[HTMLMapElement]

    In conjunction with area, defines an image map.

    In conjunction with area, defines an image map.

    MDN

    Definition Classes
    Tags
  71. val meta: TypedHtmlTag[HTMLMetaElement]

    Defines metadata that can't be defined using another HTML element.

    Defines metadata that can't be defined using another HTML element.

    MDN

    Definition Classes
    Tags
  72. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  73. final def notify(): Unit

    Definition Classes
    AnyRef
  74. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  75. val object: TypedHtmlTag[HTMLObjectElement]

    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.

    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.

    MDN

    Definition Classes
    Tags
  76. val ol: TypedHtmlTag[HTMLOListElement]

    Defines an ordered list of items.

    Defines an ordered list of items.

    MDN

    Definition Classes
    Tags
  77. val optgroup: TypedHtmlTag[HTMLOptGroupElement]

    A set of options, logically grouped.

    A set of options, logically grouped.

    MDN

    Definition Classes
    Tags
  78. val option: TypedHtmlTag[HTMLOptionElement]

    An option in a select element.

    An option in a select element.

    MDN

    Definition Classes
    Tags
  79. val p: TypedHtmlTag[HTMLParagraphElement]

    Defines a portion that should be displayed as a paragraph.

    Defines a portion that should be displayed as a paragraph.

    MDN

    Definition Classes
    Tags
  80. val param: TypedHtmlTag[HTMLParamElement]

    Defines parameters for use by plug-ins invoked by object elements.

    Defines parameters for use by plug-ins invoked by object elements.

    MDN

    Definition Classes
    Tags
  81. val pre: TypedHtmlTag[HTMLPreElement]

    Indicates that its content is preformatted and that this format must be preserved.

    Indicates that its content is preformatted and that this format must be preserved.

    MDN

    Definition Classes
    Tags
  82. def radialGradient(colors: ColorStop*): RadialGradient

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient.

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS Gradient data type.

    MDN

    Definition Classes
    DataConverters
  83. def radialGradient(style: String, colors: ColorStop*): RadialGradient

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient.

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS Gradient data type.

    MDN

    Definition Classes
    DataConverters
  84. def radialGradient(x: Length, y: Length, style: String, colors: ColorStop*): RadialGradient

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient.

    The CSS radial-gradient() function creates an Image which represents a gradient of colors radiating from an origin, the center of the gradient. The result of this function is an object of the CSS Gradient data type.

    MDN

    Definition Classes
    DataConverters
  85. def rgb(r: Int, g: Int, b: Int): Rgb

    A color represented as its 3 primary components, from 0 to 255

    A color represented as its 3 primary components, from 0 to 255

    Definition Classes
    DataConverters
  86. def rgba(r: Int, g: Int, b: Int, a: Double): Rgba

    A color represented as its 3 primary components, from 0 to 255, as well as an alpha (opacity) from 0.

    A color represented as its 3 primary components, from 0 to 255, as well as an alpha (opacity) from 0.0 to 1.0

    Definition Classes
    DataConverters
  87. val s: TypedHtmlTag[HTMLElement]

    Strikethrough element, used for that is no longer accurate or relevant.

    Strikethrough element, used for that is no longer accurate or relevant.

    MDN

    Definition Classes
    Tags
  88. val script: TypedHtmlTag[HTMLScriptElement]

    Defines either an internal script or a link to an external script.

    Defines either an internal script or a link to an external script. The script language is JavaScript.

    MDN

    Definition Classes
    Tags
  89. val select: TypedHtmlTag[HTMLSelectElement]

    A control that allows the user to select one of a set of options.

    A control that allows the user to select one of a set of options.

    MDN

    Definition Classes
    Tags
  90. val small: TypedHtmlTag[HTMLElement]

    Represents a side comment; text like a disclaimer or copyright, which is not essential to the comprehension of the document.

    Represents a side comment; text like a disclaimer or copyright, which is not essential to the comprehension of the document.

    MDN

    Definition Classes
    Tags
  91. val source: TypedHtmlTag[HTMLSourceElement]

    Allows the authors to specify alternate media resources for media elements like video or audio

    Allows the authors to specify alternate media resources for media elements like video or audio

    MDN

    Definition Classes
    Tags
  92. val span: TypedHtmlTag[HTMLSpanElement]

    Represents text with no specific meaning.

    Represents text with no specific meaning. This has to be used when no other text-semantic element conveys an adequate meaning, which, in this case, is often brought by global attributes like class, lang, or dir.

    MDN

    Definition Classes
    Tags
  93. val strong: TypedHtmlTag[HTMLElement]

    Represents especially important text.

    Represents especially important text.

    MDN

    Definition Classes
    Tags
  94. val sub: TypedHtmlTag[HTMLElement]

    Subscript tag

    Subscript tag

    MDN

    Definition Classes
    Tags
  95. val sup: TypedHtmlTag[HTMLElement]

    Superscript tag.

    Superscript tag.

    MDN

    Definition Classes
    Tags
  96. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  97. val table: TypedHtmlTag[HTMLTableElement]

    Represents data with more than one dimension.

    Represents data with more than one dimension.

    MDN

    Definition Classes
    Tags
  98. val tbody: TypedHtmlTag[HTMLTableSectionElement]

    The table body.

    The table body.

    MDN

    Definition Classes
    Tags
  99. val td: TypedHtmlTag[HTMLTableCellElement]

    A single cell in a table.

    A single cell in a table.

    MDN

    Definition Classes
    Tags
  100. val textarea: TypedHtmlTag[HTMLTextAreaElement]

    A multiline text edit control.

    A multiline text edit control.

    MDN

    Definition Classes
    Tags
  101. val tfoot: TypedHtmlTag[HTMLTableSectionElement]

    The table footer.

    The table footer.

    MDN

    Definition Classes
    Tags
  102. val th: TypedHtmlTag[HTMLTableHeaderCellElement]

    A header cell in a table.

    A header cell in a table.

    MDN

    Definition Classes
    Tags
  103. val thead: TypedHtmlTag[HTMLTableSectionElement]

    The table headers.

    The table headers.

    MDN

    Definition Classes
    Tags
  104. def toString(): String

    Definition Classes
    AnyRef → Any
  105. val tr: TypedHtmlTag[HTMLTableRowElement]

    A single row in a table.

    A single row in a table.

    MDN

    Definition Classes
    Tags
  106. val track: TypedHtmlTag[HTMLTrackElement]

    Allows authors to specify timed text track for media elements like video or audio

    Allows authors to specify timed text track for media elements like video or audio

    MDN

    Definition Classes
    Tags
  107. val u: TypedHtmlTag[HTMLElement]

    Underlined text.

    Underlined text.

    MDN

    Definition Classes
    Tags
  108. val ul: TypedHtmlTag[HTMLUListElement]

    Defines an unordered list of items.

    Defines an unordered list of items.

    MDN

    Definition Classes
    Tags
  109. def url(s: String): Url

    An image found at a particular URL

    An image found at a particular URL

    Definition Classes
    DataConverters
  110. val video: TypedHtmlTag[HTMLVideoElement]

    Represents a video, and its associated audio files and captions, with the necessary interface to play it.

    Represents a video, and its associated audio files and captions, with the necessary interface to play it.

    MDN

    Definition Classes
    Tags
  111. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  113. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  114. val wbr: TypedHtmlTag[HTMLElement]

    Represents a line break opportunity, that is a suggested point for wrapping text in order to improve readability of text split on several lines.

    Represents a line break opportunity, that is a suggested point for wrapping text in order to improve readability of text split on several lines.

    MDN

    Definition Classes
    Tags

Inherited from DataConverters

Inherited from Tags

Inherited from AnyRef

Inherited from Any

Ungrouped