Trait

scalatags.generic

Tags

Related Doc: package generic

Permalink

trait Tags[Builder, Output <: FragT, FragT] extends Util[Builder, Output, FragT]

Trait that contains the contents of the Tags object, so they can be mixed in to other objects if needed.

Linear Supertypes
Util[Builder, Output, FragT], LowPriUtil[Builder, Output, FragT], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tags
  2. Util
  3. LowPriUtil
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type ConcreteHtmlTag[T <: Output] <: TypedTag[Builder, T, FragT]

    Permalink
    Definition Classes
    Util
  2. implicit class SeqNode[A] extends Modifier[Builder]

    Permalink

    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

Abstract Value Members

  1. implicit abstract def SeqFrag[A](xs: Seq[A])(implicit ev: (A) ⇒ Frag[Builder, FragT]): Frag[Builder, FragT]

    Permalink

    Renders an Seq of FragT into a single FragT

    Renders an Seq of FragT into a single FragT

    Definition Classes
    LowPriUtil
  2. implicit abstract def UnitFrag(u: Unit): Frag[Builder, FragT]

    Permalink

    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
    LowPriUtil
  3. abstract val a: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a hyperlink, linking to another resource.

    Represents a hyperlink, linking to another resource.

    MDN

  4. abstract val area: TypedTag[Builder, Output, FragT]

    Permalink

    In conjunction with map, defines an image map

    In conjunction with map, defines an image map

    MDN

  5. abstract val audio: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a sound or an audio stream.

    Represents a sound or an audio stream.

    MDN

  6. abstract val b: TypedTag[Builder, Output, FragT]

    Permalink

    Bold text.

    Bold text.

    MDN

  7. abstract val base: TypedTag[Builder, Output, FragT]

    Permalink

    Defines the base URL for relative URLs in the page.

    Defines the base URL for relative URLs in the page.

    MDN

  8. abstract val blockquote: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a content that is quoted from another source.

    Represents a content that is quoted from another source.

    MDN

  9. abstract val body: TypedTag[Builder, Output, FragT]

    Permalink

    Represents the content of an HTML document.

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

    MDN

  10. abstract val br: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a line break.

    Represents a line break.

    MDN

  11. abstract val button: TypedTag[Builder, Output, FragT]

    Permalink

    A button

    A button

    MDN

  12. abstract val canvas: TypedTag[Builder, Output, FragT]

    Permalink

    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

  13. abstract val caption: TypedTag[Builder, Output, FragT]

    Permalink

    The title of a table.

    The title of a table.

    MDN

  14. abstract val cite: TypedTag[Builder, Output, FragT]

    Permalink

    Represents the title of a work being cited.

    Represents the title of a work being cited.

    MDN

  15. abstract val code: TypedTag[Builder, Output, FragT]

    Permalink

    Represents computer code.

    Represents computer code.

    MDN

  16. abstract val col: TypedTag[Builder, Output, FragT]

    Permalink

    A single column.

    A single column.

    MDN

  17. abstract val colgroup: TypedTag[Builder, Output, FragT]

    Permalink

    A set of columns.

    A set of columns.

    MDN

  18. abstract val datalist: TypedTag[Builder, Output, FragT]

    Permalink

    A set of predefined options for other controls.

    A set of predefined options for other controls.

    MDN

  19. abstract val dd: TypedTag[Builder, Output, FragT]

    Permalink

    Represents the definition of the terms immediately listed before it.

    Represents the definition of the terms immediately listed before it.

    MDN

  20. abstract val del: TypedTag[Builder, Output, FragT]

    Permalink

    Defines a removal from the document.

    Defines a removal from the document.

    MDN

  21. abstract val div: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a generic container with no special meaning.

    Represents a generic container with no special meaning.

    MDN

  22. abstract val dl: TypedTag[Builder, Output, FragT]

    Permalink

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

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

    MDN

  23. abstract val dt: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a term defined by the next dd

    Represents a term defined by the next dd

    MDN

  24. abstract val em: TypedTag[Builder, Output, FragT]

    Permalink

    Represents emphasized text.

    Represents emphasized text.

    MDN

  25. abstract val embed: TypedTag[Builder, Output, FragT]

    Permalink

    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

  26. abstract val fieldset: TypedTag[Builder, Output, FragT]

    Permalink

    A set of fields.

    A set of fields.

    MDN

  27. abstract val figcaption: TypedTag[Builder, Output, FragT]

    Permalink

    Represents the legend of a figure.

    Represents the legend of a figure.

    MDN

  28. abstract val figure: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a figure illustrated as part of the document.

    Represents a figure illustrated as part of the document.

    MDN

  29. abstract val footer: TypedTag[Builder, Output, FragT]

    Permalink

    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

  30. abstract val form: TypedTag[Builder, Output, FragT]

    Permalink

    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

  31. abstract val h1: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 1

    Heading level 1

    MDN

  32. abstract val h2: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 2

    Heading level 2

    MDN

  33. abstract val h3: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 3

    Heading level 3

    MDN

  34. abstract val h4: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 4

    Heading level 4

    MDN

  35. abstract val h5: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 5

    Heading level 5

    MDN

  36. abstract val h6: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 6

    Heading level 6

    MDN

  37. abstract val head: TypedTag[Builder, Output, FragT]

    Permalink

    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

  38. abstract val header: TypedTag[Builder, Output, FragT]

    Permalink

    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

  39. abstract val hr: TypedTag[Builder, Output, FragT]

    Permalink

    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

  40. abstract val html: TypedTag[Builder, Output, FragT]

    Permalink

    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

  41. abstract val i: TypedTag[Builder, Output, FragT]

    Permalink

    Italicized text.

    Italicized text.

    MDN

  42. abstract val iframe: TypedTag[Builder, Output, FragT]

    Permalink

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

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

    MDN

  43. abstract val img: TypedTag[Builder, Output, FragT]

    Permalink

    Represents an image.

    Represents an image.

    MDN

  44. abstract val input: TypedTag[Builder, Output, FragT]

    Permalink

    A typed data field allowing the user to input data.

    A typed data field allowing the user to input data.

    MDN

  45. abstract val ins: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an addition to the document.

    Defines an addition to the document.

    MDN

  46. abstract val label: TypedTag[Builder, Output, FragT]

    Permalink

    The caption of a single field

    The caption of a single field

    MDN

  47. abstract val legend: TypedTag[Builder, Output, FragT]

    Permalink

    The caption for a fieldset.

    The caption for a fieldset.

    MDN

  48. abstract val li: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an item of an list.

    Defines an item of an list.

    MDN

  49. abstract val link: TypedTag[Builder, Output, FragT]

    Permalink

    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

  50. abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean, namespaceConfig: Namespace): ConcreteHtmlTag[T]

    Permalink
    Definition Classes
    Util
  51. abstract val map: TypedTag[Builder, Output, FragT]

    Permalink

    In conjunction with area, defines an image map.

    In conjunction with area, defines an image map.

    MDN

  52. abstract val meta: TypedTag[Builder, Output, FragT]

    Permalink

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

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

    MDN

  53. abstract val object: TypedTag[Builder, Output, FragT]

    Permalink

    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

  54. abstract val ol: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an ordered list of items.

    Defines an ordered list of items.

    MDN

  55. abstract val optgroup: TypedTag[Builder, Output, FragT]

    Permalink

    A set of options, logically grouped.

    A set of options, logically grouped.

    MDN

  56. abstract val option: TypedTag[Builder, Output, FragT]

    Permalink

    An option in a select element.

    An option in a select element.

    MDN

  57. abstract val p: TypedTag[Builder, Output, FragT]

    Permalink

    Defines a portion that should be displayed as a paragraph.

    Defines a portion that should be displayed as a paragraph.

    MDN

  58. abstract val param: TypedTag[Builder, Output, FragT]

    Permalink

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

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

    MDN

  59. abstract val pre: TypedTag[Builder, Output, FragT]

    Permalink

    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

  60. abstract val s: TypedTag[Builder, Output, FragT]

    Permalink

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

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

    MDN

  61. abstract val script: TypedTag[Builder, Output, FragT]

    Permalink

    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

  62. abstract val select: TypedTag[Builder, Output, FragT]

    Permalink

    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

  63. abstract val small: TypedTag[Builder, Output, FragT]

    Permalink

    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

  64. abstract val source: TypedTag[Builder, Output, FragT]

    Permalink

    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

  65. abstract val span: TypedTag[Builder, Output, FragT]

    Permalink

    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

  66. implicit abstract def stringAttrX: AttrValue[Builder, String]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Util
  67. implicit abstract def stringPixelStyleX: PixelStyleValue[Builder, String]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Util
  68. implicit abstract def stringStyleX: StyleValue[Builder, String]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Util
  69. abstract val strong: TypedTag[Builder, Output, FragT]

    Permalink

    Represents especially important text.

    Represents especially important text.

    MDN

  70. abstract val sub: TypedTag[Builder, Output, FragT]

    Permalink

    Subscript tag

    Subscript tag

    MDN

  71. abstract val sup: TypedTag[Builder, Output, FragT]

    Permalink

    Superscript tag.

    Superscript tag.

    MDN

  72. abstract val table: TypedTag[Builder, Output, FragT]

    Permalink

    Represents data with more than one dimension.

    Represents data with more than one dimension.

    MDN

  73. abstract def tag(s: String, void: Boolean = false): TypedTag[Builder, Output, FragT]

    Permalink
    Definition Classes
    Util
  74. abstract val tbody: TypedTag[Builder, Output, FragT]

    Permalink

    The table body.

    The table body.

    MDN

  75. abstract val td: TypedTag[Builder, Output, FragT]

    Permalink

    A single cell in a table.

    A single cell in a table.

    MDN

  76. abstract val textarea: TypedTag[Builder, Output, FragT]

    Permalink

    A multiline text edit control.

    A multiline text edit control.

    MDN

  77. abstract val tfoot: TypedTag[Builder, Output, FragT]

    Permalink

    The table footer.

    The table footer.

    MDN

  78. abstract val th: TypedTag[Builder, Output, FragT]

    Permalink

    A header cell in a table.

    A header cell in a table.

    MDN

  79. abstract val thead: TypedTag[Builder, Output, FragT]

    Permalink

    The table headers.

    The table headers.

    MDN

  80. abstract val tr: TypedTag[Builder, Output, FragT]

    Permalink

    A single row in a table.

    A single row in a table.

    MDN

  81. abstract val track: TypedTag[Builder, Output, FragT]

    Permalink

    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

  82. abstract val u: TypedTag[Builder, Output, FragT]

    Permalink

    Underlined text.

    Underlined text.

    MDN

  83. abstract val ul: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an unordered list of items.

    Defines an unordered list of items.

    MDN

  84. abstract val video: TypedTag[Builder, Output, FragT]

    Permalink

    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

  85. abstract val wbr: TypedTag[Builder, Output, FragT]

    Permalink

    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

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def ArrayFrag[A](xs: Array[A])(implicit ev: (A) ⇒ Frag[Builder, FragT]): Frag[Builder, FragT]

    Permalink

    Renders an Seq of FragT into a single FragT

    Renders an Seq of FragT into a single FragT

    Definition Classes
    LowPriUtil
  5. implicit def ArrayNode[A](xs: Array[A])(implicit ev: (A) ⇒ Modifier[Builder]): SeqNode[A]

    Permalink

    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
  6. implicit def OptionFrag[A](xs: Option[A])(implicit ev: (A) ⇒ Frag[Builder, FragT]): Frag[Builder, FragT]

    Permalink

    Renders an Option of FragT into a single FragT

    Renders an Option of FragT into a single FragT

    Definition Classes
    LowPriUtil
  7. implicit def OptionNode[A](xs: Option[A])(implicit ev: (A) ⇒ Modifier[Builder]): SeqNode[A]

    Permalink

    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
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def attr(s: String, ns: Namespace = null, raw: Boolean = false): Attr

    Permalink

    Constructs an Attr attribute object from a string; can be used inline:

    Constructs an Attr attribute object from a string; can be used inline:

    div(
      attr("hello-world-special-attr") := "foo
    )

    Or assigned to a name and used later

    val hello = attr("hello-world-special-attr")
    div(
      hello := "foo
    )
    Definition Classes
    Util
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def css(s: String): Style

    Permalink

    Constructs a CSS Style from a string, can be used inline

    Constructs a CSS Style from a string, can be used inline

    div(
      css("-moz-special-style") := "foo"
    )

    Or assigned to a name and used later

    val mozSpecial := css("-moz-special-style")
    div(
      mozSpecial := "foo"
    )
    Definition Classes
    Util
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def frag(frags: Frag[Builder, FragT]*): Frag[Builder, FragT]

    Permalink
    Definition Classes
    Util
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def modifier(mods: Modifier[Builder]*): Modifier[Builder]

    Permalink
    Definition Classes
    Util
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Util[Builder, Output, FragT]

Inherited from LowPriUtil[Builder, Output, FragT]

Inherited from AnyRef

Inherited from Any

Ungrouped