Object

org.querki.jquery

JQueryStatic

Related Doc: package jquery

Permalink

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
Visibility
  1. Public
  2. All

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. def Callbacks(flags: String = ""): JQueryCallbacks

    Permalink

    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.

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

    Permalink

    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.

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

    Permalink
  7. def Event(name: String): JQueryEventObject

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

    Permalink
  9. def ajax(settings: JQueryAjaxSettings): JQueryXHR

    Permalink
  10. def ajax(): JQueryXHR

    Permalink

    Perform an asynchronous HTTP (Ajax) request.

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

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

    Permalink

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

  13. def ajaxSetup(options: JQueryAjaxSettings): Unit

    Permalink

    Set default values for future Ajax requests.

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

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

    Permalink
  15. def apply(func: Function): JQuery

    Permalink

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

  16. def apply(obj: Object): JQuery

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

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

    Permalink

    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.

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

    Permalink
  20. def apply(selector: ElementDesc): JQuery

    Permalink
  21. def apply(): JQuery

    Permalink

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

  22. final def asInstanceOf[T0]: T0

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

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

    Permalink

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

  25. def cssHooks: Dynamic

    Permalink

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

  26. def cssNumber: Dictionary[Boolean]

    Permalink

    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.

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

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

    Permalink

    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.

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

    Permalink

    Store arbitrary data associated with the specified element.

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

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

    Permalink

    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.

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

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

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

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

    Permalink

    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.

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

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

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

    Permalink

    Takes a string and throws an exception containing it.

  38. var expr: Dynamic

    Permalink

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

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

    Permalink
  40. def extend(target: Object, objects: Object*): Object

    Permalink

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

  41. def finalize(): Unit

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

    Permalink

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

  43. def fx: JQueryFX

    Permalink

    Provides access to the underlying FX engine.

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

    Permalink
  45. def get(settings: JQueryAjaxSettings): JQueryXHR

    Permalink
  46. def get(): JQueryXHR

    Permalink

    Load data from the server using a HTTP GET request.

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

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

    Permalink

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

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

    Permalink

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

  50. def globalEval(code: String): Unit

    Permalink

    Execute some JavaScript code globally.

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

    Permalink

    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.

  52. def hasData(element: Element): Boolean

    Permalink

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

  53. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  54. def hashCode(): Int

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

    Permalink

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

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

    Permalink

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

  57. def isEmptyObject(obj: Any): Boolean

    Permalink

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

  58. def isFunction(obj: Any): Boolean

    Permalink

    Determine if the argument passed is a JavaScript function object.

  59. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  60. def isNumeric(obj: Any): Boolean

    Permalink

    Determines whether its argument is a number.

  61. def isPlainObject(v: Any): Boolean

    Permalink

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

  62. def isPrototypeOf(v: Object): Boolean

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

    Permalink

    Determine whether the argument is a window.

  64. def isXMLDoc(node: Node): Boolean

    Permalink

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

  65. def jqType(obj: Any): String

    Permalink

    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" )
  66. def makeArray(obj: Object): Array[Any]

    Permalink

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

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

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

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

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

    Permalink

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

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

    Permalink

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

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

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

    Permalink

    Relinquish jQuery's control of the $ variable.

  74. def noop(): Unit

    Permalink

    An empty function.

  75. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  77. def now(): Double

    Permalink

    Return a number representing the current time.

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

    Permalink

    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.

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

    Permalink

    Parses a string into an array of DOM nodes.

  80. def parseJSON(json: String): Any

    Permalink

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

  81. def parseXML(xml: String): Document

    Permalink

    Parses a string into an XML document.

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

    Permalink
  83. def post(settings: JQueryAjaxSettings): JQueryXHR

    Permalink
  84. def post(): JQueryXHR

    Permalink

    Load data from the server using a HTTP POST request.

  85. def propertyIsEnumerable(v: String): Boolean

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

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

    Permalink

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

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

    Permalink

    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.

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

    Permalink

    Remove a previously-stored piece of data.

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

    Permalink
    Definition Classes
    AnyRef
  91. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  92. def toString(): String

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

    Permalink

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

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

    Permalink

    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.

  95. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  96. final def wait(): Unit

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

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

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

    Permalink

    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.

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

    Permalink
    Annotations
    @JSName( "when" )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped