object JqWiringSupport
A singleton that vends various different functions for WiringUI support
- Alphabetic
- By Inheritance
- JqWiringSupport
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 calculateDeltas[T](oldList: Box[Seq[T]], newList: Seq[T], id: String)(calcId: (T) => String, calcNodeSeq: (T) => NodeSeq): JsCmd
Takes two sequences, the id of a containing component and a couple of functions and generates the jQuery-based JavaScript to update the browser DOM with the deltas between the old list and the new list.
Takes two sequences, the id of a containing component and a couple of functions and generates the jQuery-based JavaScript to update the browser DOM with the deltas between the old list and the new list.
- oldList
-- the old list. If it is Empty, then it is treated as Nil
- newList
-- the new version of the list of items
- id
-- the id of the enclosing DOM node. Used for appending and inserting DOM nodes
- calcId
-- given a T, calculate the id of the DOM node for the T
- calcNodeSeq
-- given a T, calculate the DOM that represents the T
- returns
the JsCmd that inserts, appends, removes, etc. the DOM so that the DOM represents the new List
- def calculateDeltas[T](oldList: Seq[T], newList: Seq[T], id: String)(calcId: (T) => String, calcNodeSeq: (T) => NodeSeq): JsCmd
Takes two sequences, the id of a containing component and a couple of functions and generates the jQuery-based JavaScript to update the browser DOM with the deltas between the old list and the new list.
- 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 fade: (String, Boolean, JsCmd) => JsCmd
Fade out the old value and fade in the new value using jQuery fast fade.
- 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()
- def slideDown: (String, Boolean, JsCmd) => JsCmd
Hide the old value, set to new value and slide down.
- def slideUp: (String, Boolean, JsCmd) => JsCmd
Hide the old value, set to new value and slide down.
- 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()