callbacks.lock()

Lock a callback list in its current state. This method returns the Callbacks object onto which it is attached (this). If the Callbacks object is created with the "memory" flag as its argument, additional functions may be added and fired after the callback list is locked. callbacks.lock() version added: 1.7 This method does

deferred.resolve()

Resolve a Deferred object and call any doneCallbacks with the given args. Normally, only the creator of a Deferred should call this method; you can prevent other code from changing the Deferred's state by returning a restricted Promise object through deferred.promise(). When the Deferred is resolved, any doneCallbacks added by deferred.then() or deferred.done() are called. Callbacks are executed in the order they were added. Each callback is passed th

Drop effect

The drop effect hides or shows an element fading in/out and sliding in a direction. drop direction (default: "left") String The direction the element will fall to hide the element, or the direction from which the element will be revealed. Possible Values: up, down, left, right.

Droppable

Create targets for draggable elements. The jQuery UI Droppable plugin makes selected elements droppable (meaning they accept being dropped on by draggables). You can specify which draggables each will accept. Dependencies UI Core Widget Factory Mouse Interaction accept Type: Selector or Function() Default: "*" Controls which draggable elements are accepted by the droppable. Multiple types supported: Selector: A selec

Widget plugin bridge

Part of the jQuery Widget Factory is the jQuery.widget.bridge() method. This acts as the middleman between the object created by $.widget() and the jQuery API. $.widget.bridge() does a few things: Connects a regular JavaScript constructor to the jQuery API. Automatically creates instances of said object and stores it within the element's $.data cache. Allows calls to public methods. Prevents calls to private methods. Prevents method calls on uninitial

.outerHeight()

Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns a number (without "px") representation of the value or null if called on an empty set of elements. The top and bottom padding and border are always included in the .outerHeight() calculation; if the includeMargin argument is set to true, the margin (top and bottom) is also included. This method is not applicab

Color animation

Color Animation jQuery UI effects core adds the ability to animate color properties using rgb(), rgba(), hex values, or even color names such as "aqua". Simply include the jQuery UI effects core file and .animate() will gain support for colors. The following properties are supported: backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor Support for color animation comes from the jQuery Color

jQuery.proxy()

Takes a function and returns a new one that will always have a particular context. This method is most useful for attaching event handlers to an element where the context is pointing back to a different object. Additionally, jQuery makes sure that even if you bind the function returned from jQuery.proxy() it will still unbind the correct function if passed the original. Be aware, however, that jQuery's event binding subsystem assigns a unique id to ea

.position()

Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. The .position() method allows us to retrieve the current position of an element relative to the offset parent. Contrast this with .offset(), which retrieves the current position relative to the document. When positioning a new element near another one and within the same containing DOM element, .position() is the more useful. Returns an obje

:focus selector

Selects element if it is currently focused. As with other pseudo-class selectors (those that begin with a ":"), it is recommended to precede :focus with a tag name or some other selector; otherwise, the universal selector ( "*" ) is implied. In other words, the bare $( ":focus" ) is equivalent to $( "*:focus" ). If you are looking for the currently focused element, $( document.activeElement ) will retrieve it without having to search the whole DOM tre