Packages

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JqJE
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. 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/ .

  2. 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/ .

  3. 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/ .

  4. 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/ .

  5. 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/ .

  6. 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/ .

  7. 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/ .

  8. 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/ .

  9. case class JqId (id: JsExp) extends JsExp with Product with Serializable

    A JQuery query for an element based on the id of the element

  10. 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/ .

  11. 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/ .

  12. 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/ .

  13. 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/ .

  14. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. 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/ .

  21. object JqHtml
  22. object JqScrollToBottom extends JsExp with JsMember with Product with Serializable

    Changes the scroll position of each matched element to its maximum.

  23. 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/ .

  24. object JqTabs
  25. object JqTabsClick
  26. object JqTabsSelected extends JsExp with JsMember with Product with Serializable
  27. object JqText
  28. 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/ .

Inherited from AnyRef

Inherited from Any

Ungrouped