Class: jQuery

jQuery

new jQuery() → {jQuery}

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
See:
Returns:
Type
jQuery

Namespaces

fn

Methods

(static) when(…deferreds) → {jQuery.Promise}

Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events.
Parameters:
Name Type Attributes Description
deferreds jQuery.Deferred <repeatable>
Any number of deferred objects to wait for.
See:
Returns:
Type
jQuery.Promise

Type Definitions

Deferred

As of jQuery 1.5, the Deferred object provides a way to register multiple callbacks into self-managed callback queues, invoke callback queues as appropriate, and relay the success or failure state of any synchronous or asynchronous function.
Type:
  • object
See:

Event

jQuery's event system normalizes the event object according to W3C standards. The event object is guaranteed to be passed to the event handler. Most properties from the original event are copied over and normalized to the new event object.
Type:
  • object
See:

Promise

This object provides a subset of the methods of the Deferred object (then, done, fail, always, pipe, and state) to prevent users from changing the state of the Deferred.
Type:
  • object
See: