Cap

trait Cap extends Util with TagFactory
trait Util[Builder, String, String]
trait LowPriUtil[Builder, String, String]
class Object
trait Matchable
class Any
object all.type
object attrs.type
object *.type
object short.type
object styles.type
object styles2.type
object svgAttrs.type
object svgTags.type
object tags.type
object tags2.type

Type members

Classlikes

implicit class GeneratorFrag[A](xs: Generator[A])(implicit ev: A => Frag) extends Frag
implicit class SeqFrag[A](xs: Seq[A])(implicit ev: A => Frag) extends Frag
case class doctype(s: String)(content: Frag) extends Writable

Inherited classlikes

implicit class SeqNode[A](xs: Seq[A])(implicit ev: A => Modifier[Builder]) 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.

Inherited from:
Util

Types

type BaseTagType = TypedTag[String]
type ConcreteHtmlTag[T <: String] = TypedTag[T]

Value members

Concrete methods

def makeAbstractTypedTag[T <: String](tag: String, void: Boolean, namespaceConfig: Namespace): TypedTag[T]

Inherited methods

def attr(s: String, ns: Namespace, raw: Boolean): 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
 )
Inherited from:
Util
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"
 )
Inherited from:
Util
def frag(frags: Frag[Builder, String]*): Frag[Builder, String]
Inherited from:
Util
Inherited from:
Util
def tag(s: String, void: Boolean): TypedTag[String]
Inherited from:
TagFactory

Implicits

Implicits

final implicit def GeneratorFrag[A](xs: Generator[A])(implicit ev: A => Frag): GeneratorFrag[A]
final implicit def SeqFrag[A](xs: Seq[A])(implicit ev: A => Frag): SeqFrag[A]
implicit def UnitFrag(u: Unit): Frag[Builder, String]

Inherited implicits

implicit def ArrayFrag[A](xs: Array[A])(implicit ev: A => Frag[Builder, String]): Frag[Builder, String]

Renders an Seq of FragT into a single FragT

Renders an Seq of FragT into a single FragT

Inherited from:
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.

Allows you to modify a ConcreteHtmlTag by adding an Array containing other nest-able objects to its list of children.

Inherited from:
Util
implicit def OptionFrag[A](xs: Option[A])(implicit ev: A => Frag[Builder, String]): Frag[Builder, String]

Renders an Option of FragT into a single FragT

Renders an Option of FragT into a single FragT

Inherited from:
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.

Allows you to modify a ConcreteHtmlTag by adding an Option containing other nest-able objects to its list of children.

Inherited from:
Util
final implicit def SeqNode[A](xs: Seq[A])(implicit ev: A => Modifier[Builder]): SeqNode[A]

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.

Inherited from:
Util