object JsDom extends Bundle[Element, Element, Node] with Aliases[Element, Element, Node]
A Scalatags module that generates dom.Element
s when the tags are rendered.
This provides some additional flexibility over the Text backend, as you
can bind structured objects to the attributes of your dom.Element
without
serializing them first into strings.
- Alphabetic
- By Inheritance
- JsDom
- Bundle
- Aliases
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
AbstractShort = generic.AbstractShort[Element, Element, Node]
- Definition Classes
- Bundle
- trait Aggregate extends generic.Aggregate[Element, Element, Node]
-
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
- trait Cap extends Util with TagFactory
-
type
Frag = generic.Frag[Element, Node]
- Definition Classes
- Aliases
- class GenericAttr [T] extends AttrValue[T]
- class GenericPixelStyle [T] extends PixelStyleValue[T]
- class GenericPixelStylePx [T] extends PixelStyleValue[T]
- class GenericStyle [T] extends StyleValue[T]
-
type
Modifier = generic.Modifier[Element]
- Definition Classes
- Aliases
-
type
PixelStyleValue[V] = generic.PixelStyleValue[Element, V]
- Definition Classes
- Aliases
- case class RawFrag (v: String) extends Modifier with Product with Serializable
- case class StringFrag (v: String) extends jsdom.Frag with Product with Serializable
-
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
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
- case class TypedTag [+Output <: Element](tag: String = "", modifiers: List[Seq[JsDom.Modifier]], void: Boolean = false, namespace: Namespace) extends generic.TypedTag[Element, Output, Node] with jsdom.Frag with Product with Serializable
-
type
Util = generic.Util[Element, Element, Node]
- Definition Classes
- Aliases
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object RawFrag extends Companion[RawFrag] with Serializable
- object StringFrag extends Companion[StringFrag] with Serializable
-
object
all
extends Cap with Attrs with Styles with jsdom.Tags with DataConverters with Aggregate with LowPriorityImplicits
Convenience object for importing all of Scalatags' functionality at once
-
object
attrs
extends Cap with Attrs
Common attributes.
-
object
implicits
extends Aggregate with DataConverters
Convenience object for only importing Scalatag's implicits, without importing any of the tags, styles or attributes themselves.
Convenience object for only importing Scalatag's implicits, without importing any of the tags, styles or attributes themselves. This includes conversions to Modifier, typeclass instances for treating strings and numbers as attributes or style values, and other things.
-
object
short
extends Cap with jsdom.Tags with DataConverters with Aggregate with AbstractShort with LowPriorityImplicits
Convenience object for importing only Scalatags' tags (e.g.
-
object
styles
extends Cap with Styles
Common styles
-
object
styles2
extends Cap with Styles2
Less common styles
-
object
svgAttrs
extends Cap with SvgAttrs
SVG only attributes
-
object
svgTags
extends Cap with jsdom.SvgTags
SVG only tags
-
object
tags
extends Cap with jsdom.Tags
Common tags
-
object
tags2
extends Cap with jsdom.Tags2
Less common tags