org.querki.jquery

JQueryStatic

object JQueryStatic extends Object

Annotations
@native() @JSImport( "jquery" , JSImport.Default , "$" )
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JQueryStatic
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def Callbacks(flags: String = ""): JQueryCallbacks

    A multi-purpose callbacks list object that provides a powerful way to manage callback lists.

    A multi-purpose callbacks list object that provides a powerful way to manage callback lists.

    TODO: we ought to add a strongly-typed extension that defines the flags properly.

  7. def Deferred(beforeStart: Function1[JQueryDeferred, _] = ???): JQueryDeferred

    A factory function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function.

  8. def Event(name: String, init: JQueryEventObject): JQueryEventObject

  9. def Event(name: String): JQueryEventObject

  10. def ajax(url: String, settings: UndefOr[JQueryAjaxSettings] = undefined): JQueryXHR

  11. def ajax(settings: JQueryAjaxSettings): JQueryXHR

  12. def ajax(): JQueryXHR

    Perform an asynchronous HTTP (Ajax) request.

  13. def ajaxPrefilter(dataTypes: String, handler: Function3[JQueryAjaxSettings with Dynamic, JQueryAjaxSettings, JQueryXHR, Any]): Unit

  14. def ajaxPrefilter(handler: Function3[JQueryAjaxSettings with Dynamic, JQueryAjaxSettings, JQueryXHR, Any]): Unit

    Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.

    Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax().

  15. def ajaxSetup(options: JQueryAjaxSettings): Unit

    Set default values for future Ajax requests.

    Set default values for future Ajax requests. Its use is not recommended.

  16. def ajaxTransport(dataType: String, handler: Function3[JQueryAjaxSettings, JQueryAjaxSettings, JQueryXHR, JQueryTransport]): Unit

  17. def apply(func: Function): JQuery

    Binds a function to be executed when the DOM has finished loading.

  18. def apply(obj: Object): JQuery

  19. def apply(html: String, attributes: Dictionary[Any]): JQuery

  20. def apply(html: String, ownerDocument: Document): JQuery

    Creates DOM elements on the fly from the provided string of raw HTML.

    Creates DOM elements on the fly from the provided string of raw HTML.

    Note that the HTML-only signature works, but happens to match one of the above cases. If the contents of "selector" happens to contain HTML, it creates instead of matching.

  21. def apply(selector: String, context: |[Element, JQuery]): JQuery

  22. def apply(selector: ElementDesc): JQuery

  23. def apply(): JQuery

    Accepts a string containing a CSS selector which is then used to match a set of elements.

  24. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def contains(container: Element, contained: Element): Boolean

    Check to see if a DOM element is a descendant of another DOM element.

  27. def cssHooks: Dynamic

    Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.

  28. def cssNumber: Dictionary[Boolean]

    An object containing all CSS properties that may be used without a unit.

    An object containing all CSS properties that may be used without a unit. The .css() method uses this object to see if it may append px to unitless values.

  29. def data(element: Element, key: String): Any

  30. def data(element: Element): Dictionary[Any]

    Returns value at named data store for the element, as set by jQuery.

    Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element.

  31. def data(element: Element, key: String, v: Any): Any

    Store arbitrary data associated with the specified element.

    Store arbitrary data associated with the specified element. Returns the value that was set.

  32. def dequeue(element: Element, queueName: String = "fx"): Unit

    Execute the next function on the queue for the matched element.

    Execute the next function on the queue for the matched element.

    Note: This is a low-level method, you should probably use .dequeue() instead.

  33. def each[A](collection: Dictionary[A], callback: ThisFunction0[A, _]): Unit

  34. def each[A](collection: Dictionary[A], callback: Function2[String, A, _]): Unit

  35. def each[A](collection: Array[A], callback: ThisFunction0[A, _]): Unit

  36. def each[A](collection: Array[A], callback: Function2[Int, A, _]): Unit

    A generic iterator function, which can be used to seamlessly iterate over both objects and arrays.

    A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties.

  37. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  39. def error(message: String): Unit

    Takes a string and throws an exception containing it.

  40. var expr: Dynamic

    Poorly-documented internal bit, used to construct fancy selectors.

  41. def extend(deep: Boolean, target: Object, objects: Object*): Object

  42. def extend(target: Object, objects: Object*): Object

    Merge the contents of two or more objects together into the first object.

  43. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. def fn: JQueryFN

    Access to jQuery's own prototype, so you can extend it with additional functions.

  45. def fx: JQueryFX

    Provides access to the underlying FX engine.

  46. def get(url: String, data: |[String, Object] = ???, success: Function3[Object, String, JQueryXHR, Any] = ???, dataType: String = ???): JQueryXHR

  47. def get(settings: JQueryAjaxSettings): JQueryXHR

  48. def get(): JQueryXHR

    Load data from the server using a HTTP GET request.

  49. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  50. def getJSON(url: String, data: |[String, Object] = ???, success: Function3[Object, String, JQueryXHR, Any] = ???): JQueryXHR

    Load JSON-encoded data from the server using a GET HTTP request.

  51. def getScript(url: String, success: Function3[String, String, JQueryXHR, Any] = ???): JQueryXHR

    Load a JavaScript file from the server using a GET HTTP request, then execute it.

  52. def globalEval(code: String): Unit

    Execute some JavaScript code globally.

  53. def grep(array: |[Array[Any], Object], func: ThisFunction2[Element, Object, Integer, Boolean], invert: Boolean = false): Array[Any]

    Finds the elements of an array which satisfy a filter function.

    Finds the elements of an array which satisfy a filter function. The original array is not affected.

  54. def hasData(element: Element): Boolean

    Determine whether an element has any jQuery data associated with it.

  55. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  56. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  57. def holdReady(hold: Boolean): Unit

    Holds or releases the execution of jQuery's ready event.

  58. def inArray(value: Any, array: Array[Any], fromIndex: Int = 0): Int

    Search for a specified value within an array and return its index (or -1 if not found).

  59. def isEmptyObject(obj: Any): Boolean

    Check to see if an object is empty (contains no enumerable properties).

  60. def isFunction(obj: Any): Boolean

    Determine if the argument passed is a JavaScript function object.

  61. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  62. def isNumeric(obj: Any): Boolean

    Determines whether its argument is a number.

  63. def isPlainObject(v: Any): Boolean

    Check to see if an object is a plain object (created using "{}" or "new Object").

  64. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  65. def isWindow(v: Any): Boolean

    Determine whether the argument is a window.

  66. def isXMLDoc(node: Node): Boolean

    Check to see if a DOM node is within an XML document (or is an XML document).

  67. def jqType(obj: Any): String

    Determine the internal JavaScript Class of an object.

    Determine the internal JavaScript Class of an object.

    TODO: we ought to have a strongly-typed way to test the results from this, in an extension method.

    Annotations
    @JSName( "type" )
  68. def makeArray(obj: Object): Array[Any]

    Convert an array-like object into a true JavaScript array.

  69. def map[A, B](collection: Dictionary[A], callback: Function1[A, B]): Dictionary[B]

  70. def map[A, B](collection: Dictionary[A], callback: Function2[A, String, B]): Dictionary[B]

  71. def map[A, B](collection: Array[A], callback: Function1[A, B]): Array[B]

  72. def map[A, B](collection: Array[A], callback: Function2[A, Int, B]): Array[B]

    Translate all items in an array or object to new array of items.

  73. def merge(first: |[Array[Any], Object], second: |[Array[Any], Object]): Array[Any]

    Merge the contents of two arrays together into the first array.

  74. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  75. def noConflict(removeAll: Boolean = false): Object

    Relinquish jQuery's control of the $ variable.

  76. def noop(): Unit

    An empty function.

  77. final def notify(): Unit

    Definition Classes
    AnyRef
  78. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  79. def now(): Double

    Return a number representing the current time.

  80. def param(obj: |[|[Dictionary[Any], JQuery], Array[JQuerySerializeArrayElement]], traditional: Boolean = false): String

    Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request.

    Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties.

  81. def parseHTML(data: String, context: Element = ???, keepScripts: Boolean = false): Array[Node]

    Parses a string into an array of DOM nodes.

  82. def parseJSON(json: String): Any

    Takes a well-formed JSON string and returns the resulting JavaScript value.

  83. def parseXML(xml: String): Document

    Parses a string into an XML document.

  84. def post(url: String, data: |[String, Object], success: Function3[Object, String, JQueryXHR, Any] = ???, dataType: String = ???): JQueryXHR

  85. def post(settings: JQueryAjaxSettings): JQueryXHR

  86. def post(): JQueryXHR

    Load data from the server using a HTTP POST request.

  87. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  88. def proxy(context: UndefOr[Object], name: String, additionalArguments: Any*): Function

  89. def proxy(func: Function, context: UndefOr[Object], additionalArguments: Any*): Function

    Takes a function and returns a new one that will always have a particular context.

  90. def queue(element: Element, queueName: String = "fx"): Array[Function]

    Show the queue of functions to be executed on the matched element.

    Show the queue of functions to be executed on the matched element.

    Note: This is a low-level method, you should probably use .queue() instead.

  91. def removeData(element: Element, name: String = ???): JQuery

    Remove a previously-stored piece of data.

  92. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  93. def toLocaleString(): String

    Definition Classes
    Object
  94. def toString(): String

    Definition Classes
    AnyRef → Any
  95. def trim(str: String): String

    Remove the whitespace from the beginning and end of a string.

  96. def unique(array: Array[Element]): Array[Element]

    Sorts an array of DOM elements, in place, with the duplicates removed.

    Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.

  97. def valueOf(): Any

    Definition Classes
    Object
  98. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. def when(deferreds: JQueryDeferred*): JQueryPromise

    Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.

    Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.

    In the unusual case that you want to pass in arbitrary objects, use the "whenAny" form.

  102. def whenAny(deferreds: Object*): JQueryPromise

    Annotations
    @JSName( "when" )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped