Object

net.liftweb.http.js.jquery

JqJE

Related Doc: package jquery

Permalink

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object JqDoc extends JsExp with Product with Serializable

    Permalink

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

  5. object JqHtml

    Permalink
  6. object JqScrollToBottom extends JsExp with JsMember with Product with Serializable

    Permalink

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

  7. object JqSerialize extends JsExp with JsMember with Product with Serializable

    Permalink

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

  8. object JqTabs

    Permalink
  9. object JqTabsClick

    Permalink
  10. object JqTabsSelected extends JsExp with JsMember with Product with Serializable

    Permalink
  11. object JqText

    Permalink
  12. object JsonSerialize extends JsExp with JsMember with Product with Serializable

    Permalink

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

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped