object short extends Cap with jsdom.Tags with DataConverters with Aggregate with AbstractShort with LowPriorityImplicits
Convenience object for importing only Scalatags' tags (e.g. div
, p
)
into the local namespace, while leaving Styles and Attributes accessible
via the *
object
- Alphabetic
- By Inheritance
- short
- LowPriorityImplicits
- AbstractShort
- Aggregate
- Aggregate
- Aliases
- DataConverters
- Tags
- Tags
- 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
- 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 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 b: ConcreteHtmlTag[Element]
Bold text.
- 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 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 cite: ConcreteHtmlTag[Element]
Represents the title of a work being cited.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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.
- def css(s: String): generic.Style
Constructs a CSS Style from a string, can be used inline
- 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 del: ConcreteHtmlTag[Mod]
Defines a removal from the document.
- 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 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.
- 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.
- 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 footer: ConcreteHtmlTag[Element]
Defines the footer for a page or section.
- lazy val form: ConcreteHtmlTag[Form]
Represents a form, consisting of controls, that can be submitted to a server for processing.
- 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 hr: ConcreteHtmlTag[HR]
Represents a thematic break between paragraphs of a section or article or any longer content.
- lazy val html: ConcreteHtmlTag[Html]
Represents the root of an HTML or XHTML document.
- lazy val i: ConcreteHtmlTag[Element]
Italicized text.
- 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 legend: ConcreteHtmlTag[Legend]
The caption for a fieldset.
- lazy val li: ConcreteHtmlTag[LI]
Defines an item of an list.
- lazy val link: ConcreteHtmlTag[Link]
Used to link JavaScript and external CSS with the current HTML document.
- 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
- 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 meta: ConcreteHtmlTag[Meta]
Defines metadata that can't be defined using another HTML element.
- def modifier(mods: generic.Modifier[Element]*): generic.Modifier[Element]
- Definition Classes
- Util
- 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 optgroup: ConcreteHtmlTag[OptGroup]
A set of options, logically grouped.
- lazy val option: ConcreteHtmlTag[Option]
An option in a select element.
- lazy val p: ConcreteHtmlTag[Paragraph]
Defines a portion that should be displayed as a paragraph.
- lazy val param: ConcreteHtmlTag[Param]
Defines parameters for use by plug-ins invoked by object elements.
- 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 s: ConcreteHtmlTag[Element]
Strikethrough element, used for that is no longer accurate or relevant.
- 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.
- 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 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.
- 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 sub: ConcreteHtmlTag[Element]
Subscript tag
- lazy val sup: ConcreteHtmlTag[Element]
Superscript tag.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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 tbody: ConcreteHtmlTag[TableSection]
The table body.
- lazy val td: ConcreteHtmlTag[TableCell]
A single cell in a table.
- 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.
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- 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 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.
- object * extends Cap with Attrs with Styles
- Definition Classes
- short → AbstractShort
- implicit object bindJsAny extends AttrValue[Element, Any]
- Definition Classes
- LowPriorityImplicits
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.