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 GeneratorFrag[A](xs: Generator[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 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
  3. 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
  4. abstract def a: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a hyperlink, linking to another resource.

    Represents a hyperlink, linking to another resource.

    MDN

  5. abstract def area: TypedTag[Builder, Output, FragT]

    Permalink

    In conjunction with map, defines an image map

    In conjunction with map, defines an image map

    MDN

  6. abstract def audio: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a sound or an audio stream.

    Represents a sound or an audio stream.

    MDN

  7. abstract def b: TypedTag[Builder, Output, FragT]

    Permalink

    Bold text.

    Bold text.

    MDN

  8. abstract def 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

  9. abstract def 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

  10. abstract def 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

  11. abstract def br: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a line break.

    Represents a line break.

    MDN

  12. abstract def button: TypedTag[Builder, Output, FragT]

    Permalink

    A button

    A button

    MDN

  13. abstract def 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

  14. abstract def caption: TypedTag[Builder, Output, FragT]

    Permalink

    The title of a table.

    The title of a table.

    MDN

  15. abstract def cite: TypedTag[Builder, Output, FragT]

    Permalink

    Represents the title of a work being cited.

    Represents the title of a work being cited.

    MDN

  16. abstract def code: TypedTag[Builder, Output, FragT]

    Permalink

    Represents computer code.

    Represents computer code.

    MDN

  17. abstract def col: TypedTag[Builder, Output, FragT]

    Permalink

    A single column.

    A single column.

    MDN

  18. abstract def colgroup: TypedTag[Builder, Output, FragT]

    Permalink

    A set of columns.

    A set of columns.

    MDN

  19. abstract def datalist: TypedTag[Builder, Output, FragT]

    Permalink

    A set of predefined options for other controls.

    A set of predefined options for other controls.

    MDN

  20. abstract def 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

  21. abstract def del: TypedTag[Builder, Output, FragT]

    Permalink

    Defines a removal from the document.

    Defines a removal from the document.

    MDN

  22. abstract def div: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a generic container with no special meaning.

    Represents a generic container with no special meaning.

    MDN

  23. abstract def 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

  24. abstract def dt: TypedTag[Builder, Output, FragT]

    Permalink

    Represents a term defined by the next dd

    Represents a term defined by the next dd

    MDN

  25. abstract def em: TypedTag[Builder, Output, FragT]

    Permalink

    Represents emphasized text.

    Represents emphasized text.

    MDN

  26. abstract def 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

  27. abstract def fieldset: TypedTag[Builder, Output, FragT]

    Permalink

    A set of fields.

    A set of fields.

    MDN

  28. abstract def figcaption: TypedTag[Builder, Output, FragT]

    Permalink

    Represents the legend of a figure.

    Represents the legend of a figure.

    MDN

  29. abstract def 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

  30. abstract def 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

  31. abstract def 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

  32. abstract def h1: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 1

    Heading level 1

    MDN

  33. abstract def h2: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 2

    Heading level 2

    MDN

  34. abstract def h3: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 3

    Heading level 3

    MDN

  35. abstract def h4: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 4

    Heading level 4

    MDN

  36. abstract def h5: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 5

    Heading level 5

    MDN

  37. abstract def h6: TypedTag[Builder, Output, FragT]

    Permalink

    Heading level 6

    Heading level 6

    MDN

  38. abstract def 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

  39. abstract def 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

  40. abstract def 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

  41. abstract def 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

  42. abstract def i: TypedTag[Builder, Output, FragT]

    Permalink

    Italicized text.

    Italicized text.

    MDN

  43. abstract def 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

  44. abstract def img: TypedTag[Builder, Output, FragT]

    Permalink

    Represents an image.

    Represents an image.

    MDN

  45. abstract def 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

  46. abstract def ins: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an addition to the document.

    Defines an addition to the document.

    MDN

  47. abstract def label: TypedTag[Builder, Output, FragT]

    Permalink

    The caption of a single field

    The caption of a single field

    MDN

  48. abstract def legend: TypedTag[Builder, Output, FragT]

    Permalink

    The caption for a fieldset.

    The caption for a fieldset.

    MDN

  49. abstract def li: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an item of an list.

    Defines an item of an list.

    MDN

  50. abstract def 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

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

    Permalink
    Definition Classes
    Util
  52. abstract def map: TypedTag[Builder, Output, FragT]

    Permalink

    In conjunction with area, defines an image map.

    In conjunction with area, defines an image map.

    MDN

  53. abstract def 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

  54. abstract def 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

  55. abstract def ol: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an ordered list of items.

    Defines an ordered list of items.

    MDN

  56. abstract def optgroup: TypedTag[Builder, Output, FragT]

    Permalink

    A set of options, logically grouped.

    A set of options, logically grouped.

    MDN

  57. abstract def option: TypedTag[Builder, Output, FragT]

    Permalink

    An option in a select element.

    An option in a select element.

    MDN

  58. abstract def 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

  59. abstract def 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

  60. abstract def 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

  61. abstract def 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

  62. abstract def 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

  63. abstract def 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

  64. abstract def 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

  65. abstract def 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

  66. abstract def 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

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

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

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

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

    Permalink

    Represents especially important text.

    Represents especially important text.

    MDN

  71. abstract def sub: TypedTag[Builder, Output, FragT]

    Permalink

    Subscript tag

    Subscript tag

    MDN

  72. abstract def sup: TypedTag[Builder, Output, FragT]

    Permalink

    Superscript tag.

    Superscript tag.

    MDN

  73. abstract def table: TypedTag[Builder, Output, FragT]

    Permalink

    Represents data with more than one dimension.

    Represents data with more than one dimension.

    MDN

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

    Permalink
    Definition Classes
    Util
  75. abstract def tbody: TypedTag[Builder, Output, FragT]

    Permalink

    The table body.

    The table body.

    MDN

  76. abstract def td: TypedTag[Builder, Output, FragT]

    Permalink

    A single cell in a table.

    A single cell in a table.

    MDN

  77. abstract def textarea: TypedTag[Builder, Output, FragT]

    Permalink

    A multiline text edit control.

    A multiline text edit control.

    MDN

  78. abstract def tfoot: TypedTag[Builder, Output, FragT]

    Permalink

    The table footer.

    The table footer.

    MDN

  79. abstract def th: TypedTag[Builder, Output, FragT]

    Permalink

    A header cell in a table.

    A header cell in a table.

    MDN

  80. abstract def thead: TypedTag[Builder, Output, FragT]

    Permalink

    The table headers.

    The table headers.

    MDN

  81. abstract def tr: TypedTag[Builder, Output, FragT]

    Permalink

    A single row in a table.

    A single row in a table.

    MDN

  82. abstract def 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

  83. abstract def u: TypedTag[Builder, Output, FragT]

    Permalink

    Underlined text.

    Underlined text.

    MDN

  84. abstract def ul: TypedTag[Builder, Output, FragT]

    Permalink

    Defines an unordered list of items.

    Defines an unordered list of items.

    MDN

  85. abstract def 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

  86. abstract def 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