trait Util[Builder, Output <: FragT, FragT] extends LowPriUtil[Builder, Output, FragT]
Created by haoyi on 6/2/14.
- Alphabetic
- By Inheritance
- Util
- LowPriUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Abstract Value Members
- implicit abstract def GeneratorFrag[A](xs: Generator[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]
Renders an Seq of FragT into a single FragT
Renders an Seq of FragT into a single FragT
- Definition Classes
- LowPriUtil
- implicit abstract def SeqFrag[A](xs: Seq[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]
Renders an Seq of FragT into a single FragT
Renders an Seq of FragT into a single FragT
- Definition Classes
- LowPriUtil
- implicit abstract def UnitFrag(u: Unit): Frag[Builder, FragT]
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
- abstract def makeAbstractTypedTag[T <: Output](tag: String, void: Boolean, namespaceConfig: Namespace): ConcreteHtmlTag[T]
- implicit abstract def stringAttrX: AttrValue[Builder, String]
- Attributes
- protected[this]
- implicit abstract def stringPixelStyleX: PixelStyleValue[Builder, String]
- Attributes
- protected[this]
- implicit abstract def stringStyleX: StyleValue[Builder, String]
- Attributes
- protected[this]
- abstract def tag(s: String, void: Boolean = false): TypedTag[Builder, Output, FragT]
Concrete 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) => Frag[Builder, FragT]): Frag[Builder, FragT]
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) => Modifier[Builder]): SeqNode[A]
Allows you to modify a ConcreteHtmlTag by adding an Array containing other nest-able objects to its list of children.
- implicit def OptionFrag[A](xs: Option[A])(implicit ev: (A) => Frag[Builder, FragT]): Frag[Builder, FragT]
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) => Modifier[Builder]): SeqNode[A]
Allows you to modify a ConcreteHtmlTag by adding an Option containing other nest-able objects to its list of children.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attr(s: String, ns: Namespace = null, raw: Boolean = false): Attr
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 )
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def css(s: String): Style
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" )
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def frag(frags: Frag[Builder, FragT]*): Frag[Builder, FragT]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modifier(mods: Modifier[Builder]*): Modifier[Builder]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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(classOf[java.lang.InterruptedException])
- 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()