object JqJE
Contains Scala JsExps for jQuery behaviors.
These functions are meant to be combined using the ~> operator. For example:
JqJE.Jq("button") ~> JqClick(AnonFunc(...))
Documentation on the case classes themselves will point to the relevant jQuery documentation, if there is any.
- Alphabetic
- By Inheritance
- JqJE
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Jq(query: JsExp) extends JsExp with Product with Serializable
Calls the main jQuery (or $) function with the parameter in query.
Calls the main jQuery (or $) function with the parameter in query.
Used to get a set of elements to apply the other JqJE expressions to.
See http://api.jquery.com/jQuery/ .
- case class JqAppend(content: NodeSeq) extends JsExp with JsMember with Product with Serializable
Calls the jQuery append function with the given content.
Calls the jQuery append function with the given content.
Used to append the given content to the matched elements.
See http://api.jquery.com/append/ .
- case class JqAppendTo(content: NodeSeq) extends JsExp with JsMember with Product with Serializable
Calls the jQuery appendTo function with the given content.
Calls the jQuery appendTo function with the given content.
Used to wrap the matched elements in the given content.
See http://api.jquery.com/appendTo/ .
- case class JqAttr(key: String, value: JsExp) extends JsExp with JsMember with Product with Serializable
Calls the jQuery attr function with the given key and the given value.
Calls the jQuery attr function with the given key and the given value.
Used to set the given attribute to the given value.
See http://api.jquery.com/attr/ .
- case class JqClick(exp: JsExp) extends JsExp with JsMember with Product with Serializable
Calls the jQuery click function with the parameter in exp.
Calls the jQuery click function with the parameter in exp.
Used to set a click handler function (also see AnonFunc).
See http://api.jquery.com/click/ .
- case class JqCss(name: JsExp, value: JsExp) extends JsExp with JsMember with Product with Serializable
Calls the jQuery css function with the given name and value.
Calls the jQuery css function with the given name and value.
Used to set the value of the given CSS property to the given value.
See http://api.jquery.com/css/ .
- case class JqEmptyAfter(content: NodeSeq) extends JsExp with JsMember with Product with Serializable
Calls the jQuery empty function followed by calling the jQuery after function with the given content.
Calls the jQuery empty function followed by calling the jQuery after function with the given content.
The intent is to empty the matched nodes and stick the given content at their tails. Like a cleaner innerHTML.
See http://api.jquery.com/empty/ and http://api.jquery.com/after/ .
- case class JqGetAttr(key: String) extends JsExp with JsMember with Product with Serializable
Calls the jQuery attr function with the given key.
Calls the jQuery attr function with the given key.
Used to get the value of the given attribute.
See http://api.jquery.com/attr/ .
- case class JqId(id: JsExp) extends JsExp with Product with Serializable
A JQuery query for an element based on the id of the element
- case class JqKeypress(what: (Char, JsCmd)*) extends JsExp with JsMember with Product with Serializable
For every passed tuple, executes the given JsCmd when the given Char is pressed by the user.
For every passed tuple, executes the given JsCmd when the given Char is pressed by the user. Watches using the jQuery keypress function.
See http://api.jquery.com/keypress/ .
- case class JqPrepend(content: NodeSeq) extends JsExp with JsMember with Product with Serializable
Calls the jQuery prepend function with the given content.
Calls the jQuery prepend function with the given content.
Used to prepend the given content to each matched element.
See http://api.jquery.com/prepend/ .
- case class JqPrependTo(content: NodeSeq) extends JsExp with JsMember with Product with Serializable
Calls the jQuery prependTo function with the given content.
Calls the jQuery prependTo function with the given content.
Used to prepend the matched elements to the given content.
See http://api.jquery.com/prependTo/ .
- case class JqRemove() extends JsExp with JsMember with Product with Serializable
Calls the jQuery remove function.
Calls the jQuery remove function.
Used to remove the matched elements from the DOM.
See http://api.jquery.com/remove/ .
- case class JqReplace(content: NodeSeq) extends JsExp with JsMember with Product with Serializable
Calls the jQuery replaceWith function with the given content.
Calls the jQuery replaceWith function with the given content.
Used to replace the matched elements with the given content.
See http://api.jquery.com/replaceWith/ .
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- 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
- 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()
- case object JqDoc extends JsExp with Product with Serializable
Calls the main jQuery (or $) function with "document".
Calls the main jQuery (or $) function with "document". This returns the jQueryied document object (e.g., for calling ready()).
See http://api.jquery.com/jQuery/ .
- object JqHtml
- case object JqScrollToBottom extends JsExp with JsMember with Product with Serializable
Changes the scroll position of each matched element to its maximum.
- case object JqSerialize extends JsExp with JsMember with Product with Serializable
Calls the jQuery serialize function.
Calls the jQuery serialize function.
Used to serialize input elements or forms into query string data.
See http://api.jquery.com/serialize/ .
- object JqTabs
- object JqTabsClick
- case object JqTabsSelected extends JsExp with JsMember with Product with Serializable
- object JqText
- case object JsonSerialize extends JsExp with JsMember with Product with Serializable
Calls the jQuery serializeArray function.
Calls the jQuery serializeArray function.
Used to serialize the matched elements into a JSON array containing objects with name and value properties.
See http://api.jquery.com/serializeArray/ .