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.

  2. implicit class HexColorHelper extends AnyRef

    Definition Classes
    DataConverters

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. implicit def Byte2CssNumber(x: Byte): CssNumber

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

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

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

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

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

    Definition Classes
    DataConverters
  13. val a: HtmlTag

    Represents a hyperlink, linking to another resource.

    Represents a hyperlink, linking to another resource.

    MDN

    Definition Classes
    Tags
  14. val area: HtmlTag

    In conjunction with map, defines an image map

    In conjunction with map, defines an image map

    MDN

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

    Definition Classes
    Any
  16. val audio: HtmlTag

    Represents a sound or an audio stream.

    Represents a sound or an audio stream.

    MDN

    Definition Classes
    Tags
  17. val b: HtmlTag

    Bold text.

    Bold text.

    MDN

    Definition Classes
    Tags
  18. val base: HtmlTag

    Defines the base URL for relative URLs in the page.

    Defines the base URL for relative URLs in the page.

    MDN

    Definition Classes
    Tags
  19. val blockquote: HtmlTag

    Represents a content that is quoted from another source.

    Represents a content that is quoted from another source.

    MDN

    Definition Classes
    Tags
  20. val body: HtmlTag

    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
  21. val br: HtmlTag

    Represents a line break.

    Represents a line break.

    MDN

    Definition Classes
    Tags
  22. val button: HtmlTag

    A button

    A button

    MDN

    Definition Classes
    Tags
  23. val canvas: HtmlTag

    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
  24. val caption: HtmlTag

    The title of a table.

    The title of a table.

    MDN

    Definition Classes
    Tags
  25. val cite: HtmlTag

    Represents the title of a work being cited.

    Represents the title of a work being cited.

    MDN

    Definition Classes
    Tags
  26. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val code: HtmlTag

    Represents computer code.

    Represents computer code.

    MDN

    Definition Classes
    Tags
  28. val col: HtmlTag

    A single column.

    A single column.

    MDN

    Definition Classes
    Tags
  29. val colgroup: HtmlTag

    A set of columns.

    A set of columns.

    MDN

    Definition Classes
    Tags
  30. val datalist: HtmlTag

    A set of predefined options for other controls.

    A set of predefined options for other controls.

    MDN

    Definition Classes
    Tags
  31. val dd: HtmlTag

    Represents the definition of the terms immediately listed before it.

    Represents the definition of the terms immediately listed before it.

    MDN

    Definition Classes
    Tags
  32. val del: HtmlTag

    Defines a removal from the document.

    Defines a removal from the document.

    MDN

    Definition Classes
    Tags
  33. val div: HtmlTag

    Represents a generic container with no special meaning.

    Represents a generic container with no special meaning.

    MDN

    Definition Classes
    Tags
  34. val dl: HtmlTag

    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
  35. val dt: HtmlTag

    Represents a term defined by the next dd

    Represents a term defined by the next dd

    MDN

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

    Definition Classes
    DataConverters
  37. val em: HtmlTag

    Represents emphasized text.

    Represents emphasized text.

    MDN

    Definition Classes
    Tags
  38. val embed: HtmlTag

    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
  39. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  41. val fieldset: HtmlTag

    A set of fields.

    A set of fields.

    MDN

    Definition Classes
    Tags
  42. val figcaption: HtmlTag

    Represents the legend of a figure.

    Represents the legend of a figure.

    MDN

    Definition Classes
    Tags
  43. val figure: HtmlTag

    Represents a figure illustrated as part of the document.

    Represents a figure illustrated as part of the document.

    MDN

    Definition Classes
    Tags
  44. def finalize(): Unit

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

    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
  46. val form: HtmlTag

    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
  47. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  48. val h1: HtmlTag

    Heading level 1

    Heading level 1

    MDN

    Definition Classes
    Tags
  49. val h2: HtmlTag

    Heading level 2

    Heading level 2

    MDN

    Definition Classes
    Tags
  50. val h3: HtmlTag

    Heading level 3

    Heading level 3

    MDN

    Definition Classes
    Tags
  51. val h4: HtmlTag

    Heading level 4

    Heading level 4

    MDN

    Definition Classes
    Tags
  52. val h5: HtmlTag

    Heading level 5

    Heading level 5

    MDN

    Definition Classes
    Tags
  53. val h6: HtmlTag

    Heading level 6

    Heading level 6

    MDN

    Definition Classes
    Tags
  54. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  55. val head: HtmlTag

    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
  56. val header: HtmlTag

    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
  57. val hr: HtmlTag

    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
  58. 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
  59. 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
  60. val html: HtmlTag

    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
  61. val i: HtmlTag

    Italicized text.

    Italicized text.

    MDN

    Definition Classes
    Tags
  62. val iframe: HtmlTag

    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
  63. val img: HtmlTag

    Represents an image.

    Represents an image.

    MDN

    Definition Classes
    Tags
  64. val input: HtmlTag

    A typed data field allowing the user to input data.

    A typed data field allowing the user to input data.

    MDN

    Definition Classes
    Tags
  65. val ins: HtmlTag

    Defines an addition to the document.

    Defines an addition to the document.

    MDN

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

    Definition Classes
    Any
  67. val label: HtmlTag

    The caption of a single field

    The caption of a single field

    MDN

    Definition Classes
    Tags
  68. val legend: HtmlTag

    The caption for a fieldset.

    The caption for a fieldset.

    MDN

    Definition Classes
    Tags
  69. val li: HtmlTag

    Defines an item of an list.

    Defines an item of an list.

    MDN

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

    Definition Classes
    DataConverters
  71. val link: HtmlTag

    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
  72. val map: HtmlTag

    In conjunction with area, defines an image map.

    In conjunction with area, defines an image map.

    MDN

    Definition Classes
    Tags
  73. val meta: HtmlTag

    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
  74. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  77. val object: HtmlTag

    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
  78. val ol: HtmlTag

    Defines an ordered list of items.

    Defines an ordered list of items.

    MDN

    Definition Classes
    Tags
  79. val optgroup: HtmlTag

    A set of options, logically grouped.

    A set of options, logically grouped.

    MDN

    Definition Classes
    Tags
  80. val option: HtmlTag

    An option in a select element.

    An option in a select element.

    MDN

    Definition Classes
    Tags
  81. val p: HtmlTag

    Defines a portion that should be displayed as a paragraph.

    Defines a portion that should be displayed as a paragraph.

    MDN

    Definition Classes
    Tags
  82. val param: HtmlTag

    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
  83. val pre: HtmlTag

    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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. val s: HtmlTag

    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
  90. val script: HtmlTag

    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
  91. val select: HtmlTag

    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
  92. val small: HtmlTag

    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
  93. val source: HtmlTag

    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
  94. val span: HtmlTag

    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
  95. val strong: HtmlTag

    Represents especially important text.

    Represents especially important text.

    MDN

    Definition Classes
    Tags
  96. val sub: HtmlTag

    Subscript tag

    Subscript tag

    MDN

    Definition Classes
    Tags
  97. val sup: HtmlTag

    Superscript tag.

    Superscript tag.

    MDN

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

    Definition Classes
    AnyRef
  99. val table: HtmlTag

    Represents data with more than one dimension.

    Represents data with more than one dimension.

    MDN

    Definition Classes
    Tags
  100. val tbody: HtmlTag

    The table body.

    The table body.

    MDN

    Definition Classes
    Tags
  101. val td: HtmlTag

    A single cell in a table.

    A single cell in a table.

    MDN

    Definition Classes
    Tags
  102. val textarea: HtmlTag

    A multiline text edit control.

    A multiline text edit control.

    MDN

    Definition Classes
    Tags
  103. val tfoot: HtmlTag

    The table footer.

    The table footer.

    MDN

    Definition Classes
    Tags
  104. val th: HtmlTag

    A header cell in a table.

    A header cell in a table.

    MDN

    Definition Classes
    Tags
  105. val thead: HtmlTag

    The table headers.

    The table headers.

    MDN

    Definition Classes
    Tags
  106. def toString(): String

    Definition Classes
    AnyRef → Any
  107. val tr: HtmlTag

    A single row in a table.

    A single row in a table.

    MDN

    Definition Classes
    Tags
  108. val track: HtmlTag

    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
  109. val u: HtmlTag

    Underlined text.

    Underlined text.

    MDN

    Definition Classes
    Tags
  110. val ul: HtmlTag

    Defines an unordered list of items.

    Defines an unordered list of items.

    MDN

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

    An image found at a particular URL

    An image found at a particular URL

    Definition Classes
    DataConverters
  112. val video: HtmlTag

    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
  113. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  116. val wbr: HtmlTag

    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