package ext
- Alphabetic
- By Inheritance
- ext
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
AjaxException(xhr: XMLHttpRequest) extends Exception with Product with Serializable
Thrown when
Ajax.get
orAjax.post
receives a non-20X response code.Thrown when
Ajax.get
orAjax.post
receives a non-20X response code. Contains the XMLHttpRequest that resulted in that response - implicit class Castable extends AnyRef
-
case class
Color(r: Int, g: Int, b: Int) extends Product with Serializable
Encapsulates a Color, allowing you to do useful work with it before serializing it to a String
-
class
EasySeq[T] extends Seq[T]
Used to extend out javascript *Collections to make them usable as normal Scala Seq[*]s
- class NamedNodeMapMap extends Map[String, Attr]
- implicit class PimpedHtmlCollection extends EasySeq[Element]
- implicit class PimpedNodeList extends EasySeq[Node]
- implicit class PimpedSVGTransformList extends EasySeq[Transform]
- implicit class PimpedTouchList extends EasySeq[Touch]
-
sealed
class
Storage extends AnyRef
Wraps dom.Storage replacing null-returning methods with option-returning ones
-
trait
TouchEvents extends Object
W3C recommendation for touch events
W3C recommendation for touch events
- Annotations
- @JSType() @native()
- See also
http://www.w3.org/TR/touch-events/
- implicit class pimpedContext extends AnyRef
Value Members
- implicit def color2String(c: Color): String
- implicit def pimpAnimatedLength(x: AnimatedLength): Double
- implicit def pimpAnimatedNumber(x: AnimatedNumber): Double
- implicit def pimpNamedNodeMap(namedNodeMap: NamedNodeMap): NamedNodeMapMap
- implicit def pimpRichAnimatedLength(x: AnimatedLength): RichDouble
- implicit def pimpRichAnimatedNumber(x: AnimatedNumber): RichDouble
-
object
Ajax
Wraps an XMLHttpRequest to provide an easy one-line way of making an Ajax call, returning a Future.
- object Color extends Serializable
- object Image
-
object
KeyCode
A list of the codes returned by KeyEvents.
-
object
KeyLocation
Aliases for DOM_KEY_LOCATION_* constants from KeyboardEvent
-
object
KeyValue
The KeyboardEvent.key attribute of an event must always contain one of these control key or character values (even if the value is 'Unidentified').
The KeyboardEvent.key attribute of an event must always contain one of these control key or character values (even if the value is 'Unidentified').
If the key represents one of the set of printable control characters which has a Unicode character entry, such as the tab key, the KeyboardEvent.key attribute must have the key value (e.g., 'Tab').
Implementations that are unable to identify a key must use the key value 'Unidentified'.
Taken from http://www.w3.org/TR/DOM-Level-3-Events/#keys-special
- object LocalStorage extends Storage
- object SessionStorage extends Storage
-
object
TouchEvents
Implicits to add touch event handlers to raw.HTMLDocument and raw.Window.
Implicits to add touch event handlers to raw.HTMLDocument and raw.Window.
- Note
Touch events may not be available on all modern browsers. See http://www.quirksmode.org/mobile/tableTouch.html#t00 for a compatibility table.