abstract class HTML extends AnyRef
a partial implementation of HTML designed for easily building and emitting HTML documents
see archives.HTMLExporter for a usage example
- Source
- HTML.scala
- Alphabetic
- By Inheritance
- HTML
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new HTML()
Abstract Value Members
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
-
def
a(ref: String)(body: ⇒ Unit): Unit
anchor element
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val body: Element
-
def
br: Unit
br element
- val button: Element
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val code: Element
-
def
css(src: String): Unit
produces a link tag for a css file
produces a link tag for a css file
- src
the href attribute (i.e., the css file)
- val div: Element
-
def
embed(src: String): Unit
embed element
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def form(action: String = "", cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
-
def
freshid: String
- returns
a fresh id
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val h1: Element
- val h2: Element
- val h3: Element
- val h4: Element
- val h5: Element
- val h6: Element
- val h7: Element
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val head: Element
- val html: Element
-
def
htmlobject(ref: String, tp: String): Unit
object element
-
def
iframe(src: String): Unit
iframe element
-
def
img(src: String): Unit
img element
- def input(itype: String = "", name: String = "", value: String = "", cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javascript(src: String): Unit
produces a script element for a javascript file
produces a script element for a javascript file
- src
the src attribute (i.e., the javascript file)
- val li: Element
-
def
literal(n: Node): Unit
outputs as is
-
def
literal(s: String): Unit
outputs as is
- val math: Element
- val merror: Element
- val mfrac: Element
- val mglyph: Element
- val mi: Element
- val mlabel: Element
- val mn: Element
- val mo: Element
- val mover: Element
- val mphantom: Element
- val mroot: Element
- val mrow: Element
- val msqrt: Element
- val msub: Element
- val msubsup: Element
- val msup: Element
- val mtext: Element
- val munder: Element
- val munderover: Element
-
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()
- val ol: Element
- def option(value: String = "", cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
- val p: Element
- val pre: Element
- def select(name: String, cls: String = "", id: String = "", title: String = "", onclick: String = "", attributes: List[(String, String)] = Nil)(body: ⇒ Unit): Unit
- val span: Element
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val table: Element
- val tbody: Element
- val td: Element
-
def
text(s: String): Unit
text node
- val th: Element
- val thead: Element
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val tr: Element
- val ul: Element
-
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( ... ) @native()
-
object
JS
creates a javascript function application