public class JQuery extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Element> |
context
The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document.
|
Objs.Property<String> |
jquery |
Objs.Property<Number> |
length
The number of elements in the jQuery object.
|
Objs.Property<String> |
selector
A selector representing selector passed to jQuery(), if any, when creating the original set.
|
Modifier | Constructor and Description |
---|---|
protected |
JQuery(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static JQuery |
$as(Object obj) |
HTMLElement |
$get(double index) |
Object |
$get(String index) |
JQuery |
add(Element... elements)
Add elements to the set of matched elements.
|
JQuery |
add(JQuery obj)
Add elements to the set of matched elements.
|
JQuery |
add(String html)
Add elements to the set of matched elements.
|
JQuery |
add(String selector,
Element context)
Add elements to the set of matched elements.
|
JQuery |
addBack()
Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
|
JQuery |
addBack(String selector)
Add the previous set of elements on the stack to the current set, optionally filtered by a selector.
|
JQuery |
addClass(Function.A2<? super Number,? super String,? extends String> func)
Adds the specified class(es) to each of the set of matched elements.
|
JQuery |
addClass(String className)
Adds the specified class(es) to each of the set of matched elements.
|
JQuery |
after(Element content1,
Object... content2)
Insert content, specified by the parameter, after each element in the set of matched elements.
|
JQuery |
after(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
Insert content, specified by the parameter, after each element in the set of matched elements.
|
JQuery |
after(JQuery content1,
Object... content2)
Insert content, specified by the parameter, after each element in the set of matched elements.
|
JQuery |
after(Object[] content1,
Object... content2)
Insert content, specified by the parameter, after each element in the set of matched elements.
|
JQuery |
after(String content1,
Object... content2)
Insert content, specified by the parameter, after each element in the set of matched elements.
|
JQuery |
after(Text content1,
Object... content2)
Insert content, specified by the parameter, after each element in the set of matched elements.
|
JQuery |
ajaxComplete(Function.A3<? super JQueryEventObject,? super XMLHttpRequest,? super Object,? extends Object> handler)
Register a handler to be called when Ajax requests complete.
|
JQuery |
ajaxError(Function.A4<? super JQueryEventObject,? super JQueryXHR,? super JQueryAjaxSettings,? super Object,? extends Object> handler)
Register a handler to be called when Ajax requests complete with an error.
|
JQuery |
ajaxSend(Function.A3<? super JQueryEventObject,? super JQueryXHR,? super JQueryAjaxSettings,? extends Object> handler)
Attach a function to be executed before an Ajax request is sent.
|
JQuery |
ajaxStart(Function.A0<? extends Object> handler)
Register a handler to be called when the first Ajax request begins.
|
JQuery |
ajaxStop(Function.A0<? extends Object> handler)
Register a handler to be called when all Ajax requests have completed.
|
JQuery |
ajaxSuccess(Function.A3<? super JQueryEventObject,? super XMLHttpRequest,? super JQueryAjaxSettings,? extends Object> handler)
Attach a function to be executed whenever an Ajax request completes successfully.
|
JQuery |
animate(Objs properties)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
double duration)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
double duration,
Function complete)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
double duration,
String easing)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
double duration,
String easing,
Function complete)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
JQueryAnimationOptions options)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
String duration)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
String duration,
Function complete)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
String duration,
String easing)
Perform a custom animation of a set of CSS properties.
|
JQuery |
animate(Objs properties,
String duration,
String easing,
Function complete)
Perform a custom animation of a set of CSS properties.
|
JQuery |
append(Element content1,
Object... content2)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQuery |
append(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQuery |
append(JQuery content1,
Object... content2)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQuery |
append(Object[] content1,
Object... content2)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQuery |
append(String content1,
Object... content2)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQuery |
append(Text content1,
Object... content2)
Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
JQuery |
appendTo(Element target)
Insert every element in the set of matched elements to the end of the target.
|
JQuery |
appendTo(JQuery target)
Insert every element in the set of matched elements to the end of the target.
|
JQuery |
appendTo(Object[] target)
Insert every element in the set of matched elements to the end of the target.
|
JQuery |
appendTo(String target)
Insert every element in the set of matched elements to the end of the target.
|
JQuery |
attr(Objs attributes)
Set one or more attributes for the set of matched elements.
|
String |
attr(String attributeName)
Get the value of an attribute for the first element in the set of matched elements.
|
JQuery |
attr(String attributeName,
double value)
Set one or more attributes for the set of matched elements.
|
JQuery |
attr(String attributeName,
Function.A2<? super Number,? super String,? extends Union.A2<String,Number>> func)
Set one or more attributes for the set of matched elements.
|
JQuery |
attr(String attributeName,
String value)
Set one or more attributes for the set of matched elements.
|
JQuery |
before(Element content1,
Object... content2)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQuery |
before(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQuery |
before(JQuery content1,
Object... content2)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQuery |
before(Object[] content1,
Object... content2)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQuery |
before(String content1,
Object... content2)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQuery |
before(Text content1,
Object... content2)
Insert content, specified by the parameter, before each element in the set of matched elements.
|
JQuery |
bind(Object events)
Attach a handler to an event for the elements.
|
JQuery |
bind(String eventType,
Boolean preventBubble)
Attach a handler to an event for the elements.
|
JQuery |
bind(String eventType,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Attach a handler to an event for the elements.
|
JQuery |
bind(String eventType,
Object eventData,
Boolean preventBubble)
Attach a handler to an event for the elements.
|
JQuery |
bind(String eventType,
Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Attach a handler to an event for the elements.
|
JQuery |
blur()
Trigger the "blur" event on an element
|
JQuery |
blur(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "blur" JavaScript event
|
JQuery |
blur(Object eventData)
Bind an event handler to the "blur" JavaScript event
|
JQuery |
blur(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "blur" JavaScript event
|
JQuery |
clearQueue()
Remove from the queue all items that have not yet been run.
|
JQuery |
clearQueue(String queueName)
Remove from the queue all items that have not yet been run.
|
JQuery |
click()
Trigger the "click" event on an element.
|
JQuery |
click(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "click" JavaScript event
|
JQuery |
click(Object eventData)
Bind an event handler to the "click" JavaScript event
|
JQuery |
click(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "click" JavaScript event
|
JQuery |
clone()
Create a deep copy of the set of matched elements.
|
JQuery |
clone(Boolean withDataAndEvents)
Create a deep copy of the set of matched elements.
|
JQuery |
clone(Boolean withDataAndEvents,
Boolean deepWithDataAndEvents)
Create a deep copy of the set of matched elements.
|
JQuery |
closest(Element element)
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
JQuery |
closest(JQuery obj)
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
Array<Object> |
closest(Object selectors)
Get an array of all the elements and selectors matched against the current element up through the DOM tree.
|
Array<Object> |
closest(Object selectors,
Element context)
Get an array of all the elements and selectors matched against the current element up through the DOM tree.
|
JQuery |
closest(String selector)
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
JQuery |
closest(String selector,
Element context)
For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
|
JQuery |
contents()
Get the children of each element in the set of matched elements, including text and comment nodes.
|
Element |
context() |
JQuery |
css(Objs properties)
Set one or more CSS properties for the set of matched elements.
|
String |
css(String propertyName)
Get the value of style properties for the first element in the set of matched elements.
|
JQuery |
css(String propertyName,
double value)
Set one or more CSS properties for the set of matched elements.
|
JQuery |
css(String propertyName,
Function.A2<? super Number,? super String,? extends Union.A2<String,Number>> value)
Set one or more CSS properties for the set of matched elements.
|
JQuery |
css(String propertyName,
String value)
Set one or more CSS properties for the set of matched elements.
|
Object |
data()
Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
JQuery |
data(Objs obj)
Store arbitrary data associated with the matched elements.
|
Object |
data(String key)
Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute.
|
JQuery |
data(String key,
Object value)
Store arbitrary data associated with the matched elements.
|
JQuery |
dblclick()
Trigger the "dblclick" event on an element.
|
JQuery |
dblclick(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "dblclick" JavaScript event
|
JQuery |
dblclick(Object eventData)
Bind an event handler to the "dblclick" JavaScript event
|
JQuery |
dblclick(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "dblclick" JavaScript event
|
JQuery |
delay(double duration)
Set a timer to delay execution of subsequent items in the queue.
|
JQuery |
delay(double duration,
String queueName)
Set a timer to delay execution of subsequent items in the queue.
|
JQuery |
delegate(Object selector,
String eventType,
Function.A1<? super JQueryEventObject,? extends Object> handler) |
JQuery |
delegate(Object selector,
String eventType,
Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler) |
JQuery |
dequeue()
Execute the next function on the queue for the matched elements.
|
JQuery |
dequeue(String queueName)
Execute the next function on the queue for the matched elements.
|
JQuery |
detach()
Remove the set of matched elements from the DOM.
|
JQuery |
detach(String selector)
Remove the set of matched elements from the DOM.
|
JQuery |
each(Function.A2<? super Number,? super Element,? extends Object> func)
Iterate over a jQuery object, executing a function for each matched element.
|
JQuery |
empty()
Remove all child nodes of the set of matched elements from the DOM.
|
JQuery |
end()
End the most recent filtering operation in the current chain and return the set of matched elements to its previous state.
|
JQuery |
eq(double index)
Reduce the set of matched elements to the one at the specified index.
|
JQuery |
error(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "error" JavaScript event.
|
JQuery |
error(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "error" JavaScript event.
|
JQuery |
fadeIn()
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(double duration)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(double duration,
Function complete)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(double duration,
String easing)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(double duration,
String easing,
Function complete)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(JQueryAnimationOptions options)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(String duration)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(String duration,
Function complete)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(String duration,
String easing)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeIn(String duration,
String easing,
Function complete)
Display the matched elements by fading them to opaque.
|
JQuery |
fadeOut()
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(double duration)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(double duration,
Function complete)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(double duration,
String easing)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(double duration,
String easing,
Function complete)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(JQueryAnimationOptions options)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(String duration)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(String duration,
Function complete)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(String duration,
String easing)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeOut(String duration,
String easing,
Function complete)
Hide the matched elements by fading them to transparent.
|
JQuery |
fadeTo(double duration,
double opacity)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(double duration,
double opacity,
Function complete)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(double duration,
double opacity,
String easing)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(double duration,
double opacity,
String easing,
Function complete)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(String duration,
double opacity)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(String duration,
double opacity,
Function complete)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(String duration,
double opacity,
String easing)
Adjust the opacity of the matched elements.
|
JQuery |
fadeTo(String duration,
double opacity,
String easing,
Function complete)
Adjust the opacity of the matched elements.
|
JQuery |
fadeToggle()
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(double duration)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(double duration,
Function complete)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(double duration,
String easing)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(double duration,
String easing,
Function complete)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(JQueryAnimationOptions options)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(String duration)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(String duration,
Function complete)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(String duration,
String easing)
Display or hide the matched elements by animating their opacity.
|
JQuery |
fadeToggle(String duration,
String easing,
Function complete)
Display or hide the matched elements by animating their opacity.
|
JQuery |
filter(Element element)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQuery |
filter(Function.A2<? super Number,? super Element,? extends Object> func)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQuery |
filter(JQuery obj)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQuery |
filter(String selector)
Reduce the set of matched elements to those that match the selector or pass the function's test.
|
JQuery |
find(Element element)
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
JQuery |
find(JQuery obj)
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
JQuery |
find(String selector)
Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.
|
JQuery |
finish()
Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
|
JQuery |
finish(String queue)
Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements.
|
JQuery |
first()
Reduce the set of matched elements to the first in the set.
|
JQuery |
focus()
Trigger the "focus" event on an element.
|
JQuery |
focus(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "focus" JavaScript event
|
JQuery |
focus(Object eventData)
Bind an event handler to the "focus" JavaScript event
|
JQuery |
focus(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "focus" JavaScript event
|
JQuery |
focusin()
Trigger the "focusin" event on an element.
|
JQuery |
focusin(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "focusin" JavaScript event
|
JQuery |
focusin(Objs eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "focusin" JavaScript event
|
JQuery |
focusout()
Trigger the "focusout" event on an element.
|
JQuery |
focusout(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "focusout" JavaScript event
|
JQuery |
focusout(Objs eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "focusout" JavaScript event
|
Array<Object> |
get()
Retrieve the elements matched by the jQuery object.
|
HTMLElement |
get(double index)
Retrieve one of the elements matched by the jQuery object.
|
JQuery |
has(Element contained)
Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
|
JQuery |
has(String selector)
Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element.
|
Boolean |
hasClass(String className)
Determine whether any of the matched elements are assigned the given class.
|
double |
height()
Get the current computed height for the first element in the set of matched elements.
|
JQuery |
height(double value)
Set the CSS height of every matched element.
|
JQuery |
height(Function.A2<? super Number,? super Number,? extends Union.A2<Number,String>> func)
Set the CSS height of every matched element.
|
JQuery |
height(String value)
Set the CSS height of every matched element.
|
JQuery |
hide()
Hide the matched elements.
|
JQuery |
hide(double duration)
Hide the matched elements.
|
JQuery |
hide(double duration,
Function complete)
Hide the matched elements.
|
JQuery |
hide(double duration,
String easing)
Hide the matched elements.
|
JQuery |
hide(double duration,
String easing,
Function complete)
Hide the matched elements.
|
JQuery |
hide(JQueryAnimationOptions options)
Hide the matched elements.
|
JQuery |
hide(String duration)
Hide the matched elements.
|
JQuery |
hide(String duration,
Function complete)
Hide the matched elements.
|
JQuery |
hide(String duration,
String easing)
Hide the matched elements.
|
JQuery |
hide(String duration,
String easing,
Function complete)
Hide the matched elements.
|
JQuery |
hover(Function.A1<? super JQueryEventObject,? extends Object> handlerInOut)
Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements.
|
JQuery |
hover(Function.A1<? super JQueryEventObject,? extends Object> handlerIn,
Function.A1<? super JQueryEventObject,? extends Object> handlerOut)
Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements.
|
String |
html()
Get the HTML contents of the first element in the set of matched elements.
|
JQuery |
html(Function.A2<? super Number,? super String,? extends String> func)
Set the HTML contents of each element in the set of matched elements.
|
JQuery |
html(String htmlString)
Set the HTML contents of each element in the set of matched elements.
|
JQuery |
change()
Trigger the "change" event on an element.
|
JQuery |
change(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "change" JavaScript event
|
JQuery |
change(Object eventData)
Bind an event handler to the "change" JavaScript event
|
JQuery |
change(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "change" JavaScript event
|
JQuery |
children()
Get the children of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
children(String selector)
Get the children of each element in the set of matched elements, optionally filtered by a selector.
|
double |
index()
Search for a given element from among the matched elements.
|
double |
index(Element selector)
Search for a given element from among the matched elements.
|
double |
index(JQuery selector)
Search for a given element from among the matched elements.
|
double |
index(String selector)
Search for a given element from among the matched elements.
|
double |
innerHeight()
Get the current computed height for the first element in the set of matched elements, including padding but not border.
|
JQuery |
innerHeight(double height)
Sets the inner height on elements in the set of matched elements, including padding but not border.
|
JQuery |
innerHeight(String height)
Sets the inner height on elements in the set of matched elements, including padding but not border.
|
double |
innerWidth()
Get the current computed width for the first element in the set of matched elements, including padding but not border.
|
JQuery |
innerWidth(double width)
Sets the inner width on elements in the set of matched elements, including padding but not border.
|
JQuery |
innerWidth(String width)
Sets the inner width on elements in the set of matched elements, including padding but not border.
|
JQuery |
insertAfter(Element target)
Insert every element in the set of matched elements after the target.
|
JQuery |
insertAfter(JQuery target)
Insert every element in the set of matched elements after the target.
|
JQuery |
insertAfter(Object[] target)
Insert every element in the set of matched elements after the target.
|
JQuery |
insertAfter(String target)
Insert every element in the set of matched elements after the target.
|
JQuery |
insertAfter(Text target)
Insert every element in the set of matched elements after the target.
|
JQuery |
insertBefore(Element target)
Insert every element in the set of matched elements before the target.
|
JQuery |
insertBefore(JQuery target)
Insert every element in the set of matched elements before the target.
|
JQuery |
insertBefore(Object[] target)
Insert every element in the set of matched elements before the target.
|
JQuery |
insertBefore(String target)
Insert every element in the set of matched elements before the target.
|
JQuery |
insertBefore(Text target)
Insert every element in the set of matched elements before the target.
|
Boolean |
is(Function.A2<? super Number,? super Element,? extends Boolean> func)
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given args.
|
Boolean |
is(JQuery obj)
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given args.
|
Boolean |
is(Object elements)
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given args.
|
Boolean |
is(String selector)
Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given args.
|
String |
jquery() |
JQuery |
keydown()
Trigger the "keydown" event on an element.
|
JQuery |
keydown(Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
Bind an event handler to the "keydown" JavaScript event
|
JQuery |
keydown(Object eventData)
Bind an event handler to the "keydown" JavaScript event
|
JQuery |
keydown(Object eventData,
Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
Bind an event handler to the "keydown" JavaScript event
|
JQuery |
keypress()
Trigger the "keypress" event on an element.
|
JQuery |
keypress(Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
Bind an event handler to the "keypress" JavaScript event
|
JQuery |
keypress(Object eventData)
Bind an event handler to the "keypress" JavaScript event
|
JQuery |
keypress(Object eventData,
Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
Bind an event handler to the "keypress" JavaScript event
|
JQuery |
keyup()
Trigger the "keyup" event on an element.
|
JQuery |
keyup(Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
Bind an event handler to the "keyup" JavaScript event
|
JQuery |
keyup(Object eventData)
Bind an event handler to the "keyup" JavaScript event
|
JQuery |
keyup(Object eventData,
Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
Bind an event handler to the "keyup" JavaScript event
|
JQuery |
last()
Reduce the set of matched elements to the final one in the set.
|
Number |
length() |
JQuery |
load()
Bind an event handler to the "load" JavaScript event.
|
JQuery |
load(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "load" JavaScript event.
|
JQuery |
load(Object eventData)
Bind an event handler to the "load" JavaScript event.
|
JQuery |
load(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "load" JavaScript event.
|
JQuery |
load(String url)
Load data from the server and place the returned HTML into the matched element.
|
JQuery |
load(String url,
Objs data)
Load data from the server and place the returned HTML into the matched element.
|
JQuery |
load(String url,
Objs data,
Function.A3<? super String,? super String,? super XMLHttpRequest,? extends Object> complete)
Load data from the server and place the returned HTML into the matched element.
|
JQuery |
load(String url,
String data)
Load data from the server and place the returned HTML into the matched element.
|
JQuery |
load(String url,
String data,
Function.A3<? super String,? super String,? super XMLHttpRequest,? extends Object> complete)
Load data from the server and place the returned HTML into the matched element.
|
JQuery |
map(Function.A2<? super Number,? super Element,? extends Object> callback)
Pass each element in the current matched set through a function, producing a new jQuery object containing the return values.
|
JQuery |
mousedown()
Trigger the "mousedown" event on an element.
|
JQuery |
mousedown(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mousedown" JavaScript event.
|
JQuery |
mousedown(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mousedown" JavaScript event.
|
JQuery |
mouseenter()
Trigger the "mouseenter" event on an element.
|
JQuery |
mouseenter(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to be fired when the mouse enters an element.
|
JQuery |
mouseenter(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to be fired when the mouse enters an element.
|
JQuery |
mouseleave()
Trigger the "mouseleave" event on an element.
|
JQuery |
mouseleave(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to be fired when the mouse leaves an element.
|
JQuery |
mouseleave(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to be fired when the mouse leaves an element.
|
JQuery |
mousemove()
Trigger the "mousemove" event on an element.
|
JQuery |
mousemove(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mousemove" JavaScript event.
|
JQuery |
mousemove(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mousemove" JavaScript event.
|
JQuery |
mouseout()
Trigger the "mouseout" event on an element.
|
JQuery |
mouseout(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mouseout" JavaScript event.
|
JQuery |
mouseout(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mouseout" JavaScript event.
|
JQuery |
mouseover()
Trigger the "mouseover" event on an element.
|
JQuery |
mouseover(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mouseover" JavaScript event.
|
JQuery |
mouseover(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mouseover" JavaScript event.
|
JQuery |
mouseup()
Trigger the "mouseup" event on an element.
|
JQuery |
mouseup(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mouseup" JavaScript event.
|
JQuery |
mouseup(Objs eventData,
Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
Bind an event handler to the "mouseup" JavaScript event.
|
JQuery |
next()
Get the immediately following sibling of each element in the set of matched elements.
|
JQuery |
next(String selector)
Get the immediately following sibling of each element in the set of matched elements.
|
JQuery |
nextAll()
Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
nextAll(String selector)
Get all following siblings of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
nextUntil()
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
nextUntil(Element element)
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
nextUntil(Element element,
String filter)
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
nextUntil(JQuery obj)
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
nextUntil(JQuery obj,
String filter)
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
nextUntil(String selector)
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
nextUntil(String selector,
String filter)
Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed.
|
JQuery |
not(Element elements)
Remove elements from the set of matched elements.
|
JQuery |
not(Element[] elements)
Remove elements from the set of matched elements.
|
JQuery |
not(Function.A2<? super Number,? super Element,? extends Boolean> func)
Remove elements from the set of matched elements.
|
JQuery |
not(JQuery obj)
Remove elements from the set of matched elements.
|
JQuery |
not(String selector)
Remove elements from the set of matched elements.
|
JQuery |
off()
Remove an event handler.
|
JQuery |
off(Objs events)
Remove an event handler.
|
JQuery |
off(Objs events,
String selector)
Remove an event handler.
|
JQuery |
off(String events)
Remove an event handler.
|
JQuery |
off(String events,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Remove an event handler.
|
JQuery |
off(String events,
Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
Remove an event handler.
|
JQuery |
off(String events,
String selector)
Remove an event handler.
|
JQuery |
off(String events,
String selector,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Remove an event handler.
|
JQueryCoordinates |
offset()
Get the current coordinates of the first element in the set of matched elements, relative to the document.
|
JQuery |
offset(Function.A2<? super Number,? super JQueryCoordinates,? extends JQueryCoordinates> func)
An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
|
JQuery |
offset(JQueryCoordinates coordinates)
An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.
|
JQuery |
offsetParent()
Get the closest ancestor element that is positioned.
|
JQuery |
on(Objs events)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(Objs events,
Object data)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(Objs events,
String selector)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(Objs events,
String selector,
Object data)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(String events,
Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(String events,
Object data,
Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(String events,
String selector,
Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
on(String events,
String selector,
Object data,
Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
Attach an event handler function for one or more events to the selected elements.
|
JQuery |
one(Objs events)
Attach a handler to an event for the elements.
|
JQuery |
one(Objs events,
Object data)
Attach a handler to an event for the elements.
|
JQuery |
one(Objs events,
String selector)
Attach a handler to an event for the elements.
|
JQuery |
one(Objs events,
String selector,
Object data)
Attach a handler to an event for the elements.
|
JQuery |
one(String events,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Attach a handler to an event for the elements.
|
JQuery |
one(String events,
Objs data,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Attach a handler to an event for the elements.
|
JQuery |
one(String events,
String selector,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Attach a handler to an event for the elements.
|
JQuery |
one(String events,
String selector,
Object data,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Attach a handler to an event for the elements.
|
double |
outerHeight()
Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin.
|
double |
outerHeight(Boolean includeMargin)
Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin.
|
JQuery |
outerHeight(double height)
Sets the outer height on elements in the set of matched elements, including padding and border.
|
JQuery |
outerHeight(String height)
Sets the outer height on elements in the set of matched elements, including padding and border.
|
double |
outerWidth()
Get the current computed width for the first element in the set of matched elements, including padding and border.
|
double |
outerWidth(Boolean includeMargin)
Get the current computed width for the first element in the set of matched elements, including padding and border.
|
JQuery |
outerWidth(double width)
Sets the outer width on elements in the set of matched elements, including padding and border.
|
JQuery |
outerWidth(String width)
Sets the outer width on elements in the set of matched elements, including padding and border.
|
JQuery |
parent()
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
|
JQuery |
parent(String selector)
Get the parent of each element in the current set of matched elements, optionally filtered by a selector.
|
JQuery |
parents()
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
|
JQuery |
parents(String selector)
Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.
|
JQuery |
parentsUntil()
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
parentsUntil(Element element)
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
parentsUntil(Element element,
String filter)
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
parentsUntil(JQuery obj)
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
parentsUntil(JQuery obj,
String filter)
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
parentsUntil(String selector)
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
parentsUntil(String selector,
String filter)
Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQueryCoordinates |
position()
Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
|
JQuery |
prepend(Element content1,
Object... content2)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQuery |
prepend(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQuery |
prepend(JQuery content1,
Object... content2)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQuery |
prepend(Object[] content1,
Object... content2)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQuery |
prepend(String content1,
Object... content2)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQuery |
prepend(Text content1,
Object... content2)
Insert content, specified by the parameter, to the beginning of each element in the set of matched elements.
|
JQuery |
prependTo(Element target)
Insert every element in the set of matched elements to the beginning of the target.
|
JQuery |
prependTo(JQuery target)
Insert every element in the set of matched elements to the beginning of the target.
|
JQuery |
prependTo(Object[] target)
Insert every element in the set of matched elements to the beginning of the target.
|
JQuery |
prependTo(String target)
Insert every element in the set of matched elements to the beginning of the target.
|
JQuery |
prev()
Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
prev(String selector)
Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
prevAll()
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
prevAll(String selector)
Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
prevUntil()
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
prevUntil(Element element)
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
prevUntil(Element element,
String filter)
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
prevUntil(JQuery obj)
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
prevUntil(JQuery obj,
String filter)
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
prevUntil(String selector)
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQuery |
prevUntil(String selector,
String filter)
Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object.
|
JQueryPromise<Object> |
promise()
Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
|
JQueryPromise<Object> |
promise(String type)
Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
|
JQueryPromise<Object> |
promise(String type,
Objs target)
Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished.
|
JQuery |
prop(Objs properties)
Set one or more properties for the set of matched elements.
|
Object |
prop(String propertyName)
Set the HTML contents of each element in the set of matched elements.
|
JQuery |
prop(String propertyName,
Boolean value)
Set one or more properties for the set of matched elements.
|
JQuery |
prop(String propertyName,
double value)
Set one or more properties for the set of matched elements.
|
JQuery |
prop(String propertyName,
Function.A2<? super Number,? super Object,? extends Object> func)
Set one or more properties for the set of matched elements.
|
JQuery |
prop(String propertyName,
String value)
Set one or more properties for the set of matched elements.
|
JQuery |
pushStack(Object[] elements)
Add a collection of DOM elements onto the jQuery stack.
|
JQuery |
pushStack(Object[] elements,
String name,
Object[] args)
Add a collection of DOM elements onto the jQuery stack.
|
Array<Object> |
queue()
Show the queue of functions to be executed on the matched elements.
|
JQuery |
queue(Function callback)
Manipulate the queue of functions to be executed, once for each matched element.
|
JQuery |
queue(Function[] newQueue)
Manipulate the queue of functions to be executed, once for each matched element.
|
Array<Object> |
queue(String queueName)
Show the queue of functions to be executed on the matched elements.
|
JQuery |
queue(String queueName,
Function callback)
Manipulate the queue of functions to be executed, once for each matched element.
|
JQuery |
queue(String queueName,
Function[] newQueue)
Manipulate the queue of functions to be executed, once for each matched element.
|
JQuery |
ready(Function.A1<? super JQueryStatic,? extends Object> handler)
Specify a function to execute when the DOM is fully loaded.
|
JQuery |
remove()
Remove the set of matched elements from the DOM.
|
JQuery |
remove(String selector)
Remove the set of matched elements from the DOM.
|
JQuery |
removeAttr(String attributeName)
Remove an attribute from each element in the set of matched elements.
|
JQuery |
removeClass()
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
|
JQuery |
removeClass(Function.A2<? super Number,? super String,? extends String> func)
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
|
JQuery |
removeClass(String className)
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
|
JQuery |
removeData()
Remove all previously-stored piece of data.
|
JQuery |
removeData(String name)
Remove a previously-stored piece of data.
|
JQuery |
removeData(String[] list)
Remove a previously-stored piece of data.
|
JQuery |
removeProp(String propertyName)
Remove a property for the set of matched elements.
|
JQuery |
replaceAll(Element target)
Replace each target element with the set of matched elements.
|
JQuery |
replaceAll(JQuery target)
Replace each target element with the set of matched elements.
|
JQuery |
replaceAll(Object[] target)
Replace each target element with the set of matched elements.
|
JQuery |
replaceAll(String target)
Replace each target element with the set of matched elements.
|
JQuery |
replaceWith(Element newContent)
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
JQuery |
replaceWith(Function.A0<? extends Union.A2<Element,JQuery>> func)
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
JQuery |
replaceWith(JQuery newContent)
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
JQuery |
replaceWith(Object[] newContent)
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
JQuery |
replaceWith(String newContent)
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
JQuery |
replaceWith(Text newContent)
Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
|
JQuery |
resize()
Trigger the "resize" event on an element.
|
JQuery |
resize(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "resize" JavaScript event.
|
JQuery |
resize(Objs eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "resize" JavaScript event.
|
JQuery |
scroll()
Trigger the "scroll" event on an element.
|
JQuery |
scroll(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "scroll" JavaScript event.
|
JQuery |
scroll(Objs eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "scroll" JavaScript event.
|
double |
scrollLeft()
Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element.
|
JQuery |
scrollLeft(double value)
Set the current horizontal position of the scroll bar for each of the set of matched elements.
|
double |
scrollTop()
Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element.
|
JQuery |
scrollTop(double value)
Set the current vertical position of the scroll bar for each of the set of matched elements.
|
JQuery |
select()
Trigger the "select" event on an element.
|
JQuery |
select(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "select" JavaScript event.
|
JQuery |
select(Objs eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "select" JavaScript event.
|
String |
selector() |
String |
serialize()
Encode a set of form elements as a string for submission.
|
Array<JQuerySerializeArrayElement> |
serializeArray()
Encode a set of form elements as an array of names and values.
|
JQuery |
show()
Display the matched elements.
|
JQuery |
show(double duration)
Display the matched elements.
|
JQuery |
show(double duration,
Function complete)
Display the matched elements.
|
JQuery |
show(double duration,
String easing)
Display the matched elements.
|
JQuery |
show(double duration,
String easing,
Function complete)
Display the matched elements.
|
JQuery |
show(JQueryAnimationOptions options)
Display the matched elements.
|
JQuery |
show(String duration)
Display the matched elements.
|
JQuery |
show(String duration,
Function complete)
Display the matched elements.
|
JQuery |
show(String duration,
String easing)
Display the matched elements.
|
JQuery |
show(String duration,
String easing,
Function complete)
Display the matched elements.
|
JQuery |
siblings()
Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
siblings(String selector)
Get the siblings of each element in the set of matched elements, optionally filtered by a selector.
|
JQuery |
slice(double start)
Reduce the set of matched elements to a subset specified by a range of indices.
|
JQuery |
slice(double start,
double end)
Reduce the set of matched elements to a subset specified by a range of indices.
|
JQuery |
slideDown()
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(double duration)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(double duration,
Function complete)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(double duration,
String easing)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(double duration,
String easing,
Function complete)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(JQueryAnimationOptions options)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(String duration)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(String duration,
Function complete)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(String duration,
String easing)
Display the matched elements with a sliding motion.
|
JQuery |
slideDown(String duration,
String easing,
Function complete)
Display the matched elements with a sliding motion.
|
JQuery |
slideToggle()
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(double duration)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(double duration,
Function complete)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(double duration,
String easing)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(double duration,
String easing,
Function complete)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(JQueryAnimationOptions options)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(String duration)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(String duration,
Function complete)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(String duration,
String easing)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideToggle(String duration,
String easing,
Function complete)
Display or hide the matched elements with a sliding motion.
|
JQuery |
slideUp()
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(double duration)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(double duration,
Function complete)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(double duration,
String easing)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(double duration,
String easing,
Function complete)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(JQueryAnimationOptions options)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(String duration)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(String duration,
Function complete)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(String duration,
String easing)
Hide the matched elements with a sliding motion.
|
JQuery |
slideUp(String duration,
String easing,
Function complete)
Hide the matched elements with a sliding motion.
|
JQuery |
stop()
Stop the currently-running animation on the matched elements.
|
JQuery |
stop(Boolean clearQueue)
Stop the currently-running animation on the matched elements.
|
JQuery |
stop(Boolean clearQueue,
Boolean jumpToEnd)
Stop the currently-running animation on the matched elements.
|
JQuery |
stop(String queue)
Stop the currently-running animation on the matched elements.
|
JQuery |
stop(String queue,
Boolean clearQueue)
Stop the currently-running animation on the matched elements.
|
JQuery |
stop(String queue,
Boolean clearQueue,
Boolean jumpToEnd)
Stop the currently-running animation on the matched elements.
|
JQuery |
submit()
Trigger the "submit" event on an element.
|
JQuery |
submit(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "submit" JavaScript event
|
JQuery |
submit(Object eventData)
Bind an event handler to the "submit" JavaScript event
|
JQuery |
submit(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "submit" JavaScript event
|
String |
text()
Get the combined text contents of each element in the set of matched elements, including their descendants.
|
JQuery |
text(Boolean text)
Set the content of each element in the set of matched elements to the specified text.
|
JQuery |
text(double text)
Set the content of each element in the set of matched elements to the specified text.
|
JQuery |
text(Function.A2<? super Number,? super String,? extends String> func)
Set the content of each element in the set of matched elements to the specified text.
|
JQuery |
text(String text)
Set the content of each element in the set of matched elements to the specified text.
|
Array<Object> |
toArray()
Retrieve all the elements contained in the jQuery set, as an array.
|
JQuery |
toggle()
Display or hide the matched elements.
|
JQuery |
toggle(Boolean showOrHide)
Display or hide the matched elements.
|
JQuery |
toggle(double duration)
Display or hide the matched elements.
|
JQuery |
toggle(double duration,
Function complete)
Display or hide the matched elements.
|
JQuery |
toggle(double duration,
String easing)
Display or hide the matched elements.
|
JQuery |
toggle(double duration,
String easing,
Function complete)
Display or hide the matched elements.
|
JQuery |
toggle(JQueryAnimationOptions options)
Display or hide the matched elements.
|
JQuery |
toggle(String duration)
Display or hide the matched elements.
|
JQuery |
toggle(String duration,
Function complete)
Display or hide the matched elements.
|
JQuery |
toggle(String duration,
String easing)
Display or hide the matched elements.
|
JQuery |
toggle(String duration,
String easing,
Function complete)
Display or hide the matched elements.
|
JQuery |
toggleClass()
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
JQuery |
toggleClass(Boolean swtch)
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
JQuery |
toggleClass(Function.A3<? super Number,? super String,? super Boolean,? extends String> func)
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
JQuery |
toggleClass(Function.A3<? super Number,? super String,? super Boolean,? extends String> func,
Boolean swtch)
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
JQuery |
toggleClass(String className)
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
JQuery |
toggleClass(String className,
Boolean swtch)
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
|
JQuery |
trigger(JQueryEventObject event)
Execute all handlers and behaviors attached to the matched elements for the given event type.
|
JQuery |
trigger(JQueryEventObject event,
Object[] extraParameters)
Execute all handlers and behaviors attached to the matched elements for the given event type.
|
JQuery |
trigger(JQueryEventObject event,
Objs extraParameters)
Execute all handlers and behaviors attached to the matched elements for the given event type.
|
JQuery |
trigger(String eventType)
Execute all handlers and behaviors attached to the matched elements for the given event type.
|
JQuery |
trigger(String eventType,
Object[] extraParameters)
Execute all handlers and behaviors attached to the matched elements for the given event type.
|
JQuery |
trigger(String eventType,
Objs extraParameters)
Execute all handlers and behaviors attached to the matched elements for the given event type.
|
Objs |
triggerHandler(JQueryEventObject event,
Object... extraParameters)
Execute all handlers attached to an element for an event.
|
Objs |
triggerHandler(String eventType,
Object... extraParameters)
Execute all handlers attached to an element for an event.
|
JQuery |
unbind()
Remove a previously-attached event handler from the elements.
|
JQuery |
unbind(Object evt)
Remove a previously-attached event handler from the elements.
|
JQuery |
unbind(String eventType)
Remove a previously-attached event handler from the elements.
|
JQuery |
unbind(String eventType,
Boolean fls)
Remove a previously-attached event handler from the elements.
|
JQuery |
unbind(String eventType,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Remove a previously-attached event handler from the elements.
|
JQuery |
undelegate()
Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
JQuery |
undelegate(String namespace)
Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
JQuery |
undelegate(String selector,
Objs events)
Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
JQuery |
undelegate(String selector,
String eventType)
Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
JQuery |
undelegate(String selector,
String eventType,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements.
|
JQuery |
unload()
Bind an event handler to the "unload" JavaScript event.
|
JQuery |
unload(Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "unload" JavaScript event.
|
JQuery |
unload(Object eventData)
Bind an event handler to the "unload" JavaScript event.
|
JQuery |
unload(Object eventData,
Function.A1<? super JQueryEventObject,? extends Object> handler)
Bind an event handler to the "unload" JavaScript event.
|
JQuery |
unwrap()
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
|
Object |
val()
Get the current value of the first element in the set of matched elements.
|
JQuery |
val(double value)
Set the value of each element in the set of matched elements.
|
JQuery |
val(Function.A2<? super Number,? super String,? extends String> func)
Set the value of each element in the set of matched elements.
|
JQuery |
val(String value)
Set the value of each element in the set of matched elements.
|
JQuery |
val(String[] value)
Set the value of each element in the set of matched elements.
|
double |
width()
Get the current computed width for the first element in the set of matched elements.
|
JQuery |
width(double value)
Set the CSS width of each element in the set of matched elements.
|
JQuery |
width(Function.A2<? super Number,? super Number,? extends Union.A2<Number,String>> func)
Set the CSS width of each element in the set of matched elements.
|
JQuery |
width(String value)
Set the CSS width of each element in the set of matched elements.
|
JQuery |
wrap(Element wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQuery |
wrap(Function.A1<? super Number,? extends Union.A2<String,JQuery>> func)
Wrap an HTML structure around each element in the set of matched elements.
|
JQuery |
wrap(JQuery wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQuery |
wrap(String wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQuery |
wrapAll(Element wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQuery |
wrapAll(Function.A1<? super Number,? extends String> func) |
JQuery |
wrapAll(JQuery wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQuery |
wrapAll(String wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQuery |
wrapInner(Element wrappingElement)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
JQuery |
wrapInner(Function.A1<? super Number,? extends String> func)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
JQuery |
wrapInner(JQuery wrappingElement)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
JQuery |
wrapInner(String wrappingElement)
Wrap an HTML structure around the content of each element in the set of matched elements.
|
$as, $cast, $delete, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Element> context
public Objs.Property<String> jquery
public Objs.Property<Number> length
public Objs.Property<String> selector
protected JQuery(Objs.Constructor<?> c, Object js)
public Element context()
public String jquery()
public Number length()
public String selector()
public HTMLElement $get(double index)
public JQuery add(String html)
html
- An HTML fragment to add to the set of matched elements.public JQuery add(String selector, Element context)
selector
- A string representing a selector expression to find additional elements to add to the set of matched elements.context
- The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method.public JQuery add(Element... elements)
elements
- One or more elements to add to the set of matched elements.public JQuery add(JQuery obj)
obj
- An existing jQuery object to add to the set of matched elements.public JQuery addBack(String selector)
public JQuery addBack()
public JQuery addClass(String className)
className
- One or more space-separated classes to be added to the class attribute of each matched element.public JQuery addClass(Function.A2<? super Number,? super String,? extends String> func)
function
- A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as args. Within the function, this refers to the current element in the set.public JQuery after(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
public JQuery after(JQuery content1, Object... content2)
public JQuery after(Object[] content1, Object... content2)
public JQuery after(Element content1, Object... content2)
public JQuery after(Text content1, Object... content2)
public JQuery after(String content1, Object... content2)
public JQuery ajaxComplete(Function.A3<? super JQueryEventObject,? super XMLHttpRequest,? super Object,? extends Object> handler)
handler
- The function to be invoked.public JQuery ajaxError(Function.A4<? super JQueryEventObject,? super JQueryXHR,? super JQueryAjaxSettings,? super Object,? extends Object> handler)
handler
- The function to be invoked.public JQuery ajaxSend(Function.A3<? super JQueryEventObject,? super JQueryXHR,? super JQueryAjaxSettings,? extends Object> handler)
handler
- The function to be invoked.public JQuery ajaxStart(Function.A0<? extends Object> handler)
handler
- The function to be invoked.public JQuery ajaxStop(Function.A0<? extends Object> handler)
handler
- The function to be invoked.public JQuery ajaxSuccess(Function.A3<? super JQueryEventObject,? super XMLHttpRequest,? super JQueryAjaxSettings,? extends Object> handler)
handler
- The function to be invoked.public JQuery animate(Objs properties, String duration, String easing, Function complete)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, double duration, String easing, Function complete)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, String duration)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, double duration)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, String duration, String easing)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, double duration, String easing)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition. (default: swing)complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, String duration, Function complete)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, double duration, Function complete)
properties
- An object of CSS properties and values that the animation will move toward.duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery animate(Objs properties, JQueryAnimationOptions options)
properties
- An object of CSS properties and values that the animation will move toward.options
- A map of additional options to pass to the method.public JQuery append(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
public JQuery append(JQuery content1, Object... content2)
public JQuery append(Object[] content1, Object... content2)
public JQuery append(Element content1, Object... content2)
public JQuery append(Text content1, Object... content2)
public JQuery append(String content1, Object... content2)
public JQuery appendTo(JQuery target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.public JQuery appendTo(Object[] target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.public JQuery appendTo(Element target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.public JQuery appendTo(String target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.public String attr(String attributeName)
attributeName
- The name of the attribute to get.public JQuery attr(String attributeName, Function.A2<? super Number,? super String,? extends Union.A2<String,Number>> func)
attributeName
- The name of the attribute to set.func
- A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as args.public JQuery attr(String attributeName, String value)
attributeName
- The name of the attribute to set.value
- A value to set for the attribute.public JQuery attr(String attributeName, double value)
attributeName
- The name of the attribute to set.value
- A value to set for the attribute.public JQuery attr(Objs attributes)
attributes
- An object of attribute-value pairs to set.public JQuery before(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
public JQuery before(JQuery content1, Object... content2)
public JQuery before(Object[] content1, Object... content2)
public JQuery before(Element content1, Object... content2)
public JQuery before(Text content1, Object... content2)
public JQuery before(String content1, Object... content2)
public JQuery bind(Object events)
events
- An object containing one or more DOM event types and functions to execute for them.public JQuery bind(String eventType, Boolean preventBubble)
eventType
- A string containing one or more DOM event types, such as "click" or "submit," or custom event names.preventBubble
- Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.public JQuery bind(String eventType, Object eventData, Boolean preventBubble)
eventType
- A string containing one or more DOM event types, such as "click" or "submit," or custom event names.eventData
- An object containing data that will be passed to the event handler.preventBubble
- Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true.public JQuery bind(String eventType, Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventType
- A string containing one or more DOM event types, such as "click" or "submit," or custom event names.eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery bind(String eventType, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventType
- A string containing one or more DOM event types, such as "click" or "submit," or custom event names.handler
- A function to execute each time the event is triggered.public JQuery blur()
public JQuery blur(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery blur(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery blur(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery change()
public JQuery change(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery change(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery change(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery children(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery children()
selector
- A string containing a selector expression to match elements against.public JQuery clearQueue(String queueName)
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery clearQueue()
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery click()
public JQuery click(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery click(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery click(Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.public JQuery clone(Boolean withDataAndEvents, Boolean deepWithDataAndEvents)
public JQuery clone()
public JQuery clone(Boolean withDataAndEvents)
public Array<Object> closest(Object selectors, Element context)
selectors
- An array or string containing a selector expression to match elements against (can also be a jQuery object).context
- A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.public Array<Object> closest(Object selectors)
selectors
- An array or string containing a selector expression to match elements against (can also be a jQuery object).context
- A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.public JQuery closest(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery closest(String selector, Element context)
selector
- A string containing a selector expression to match elements against.context
- A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead.public JQuery closest(Element element)
element
- An element to match elements against.public JQuery closest(JQuery obj)
obj
- A jQuery object to match elements against.public JQuery contents()
public String css(String propertyName)
propertyName
- A CSS property.public JQuery css(String propertyName, Function.A2<? super Number,? super String,? extends Union.A2<String,Number>> value)
propertyName
- A CSS property name.value
- A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as args.public JQuery css(String propertyName, String value)
propertyName
- A CSS property name.value
- A value to set for the property.public JQuery css(String propertyName, double value)
propertyName
- A CSS property name.value
- A value to set for the property.public JQuery css(Objs properties)
properties
- An object of property-value pairs to set.public Object data()
public Object data(String key)
key
- Name of the data stored.public JQuery data(String key, Object value)
key
- A string naming the piece of data to set.value
- The new data value; it can be any Javascript type including Array or Object.public JQuery data(Objs obj)
obj
- An object of key-value pairs of data to update.public JQuery dblclick()
public JQuery dblclick(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery dblclick(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery dblclick(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery delay(double duration, String queueName)
duration
- An integer indicating the number of milliseconds to delay execution of the next item in the queue.queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery delay(double duration)
duration
- An integer indicating the number of milliseconds to delay execution of the next item in the queue.queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery delegate(Object selector, String eventType, Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
public JQuery delegate(Object selector, String eventType, Function.A1<? super JQueryEventObject,? extends Object> handler)
public JQuery dequeue(String queueName)
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery dequeue()
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery detach(String selector)
public JQuery detach()
public JQuery each(Function.A2<? super Number,? super Element,? extends Object> func)
func
- A function to execute for each matched element.public JQuery empty()
public JQuery end()
public JQuery eq(double index)
index
- An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set.public JQuery error(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- A plain object of data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery error(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery fadeIn(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeIn(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery fadeIn(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery fadeIn(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery fadeOut(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeOut(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery fadeOut(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery fadeOut(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery fadeTo(String duration, double opacity, String easing, Function complete)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeTo(double duration, double opacity, String easing, Function complete)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeTo(String duration, double opacity)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeTo(double duration, double opacity)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeTo(String duration, double opacity, String easing)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeTo(double duration, double opacity, String easing)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeTo(String duration, double opacity, Function complete)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.complete
- A function to call once the animation is complete.public JQuery fadeTo(double duration, double opacity, Function complete)
duration
- A string or number determining how long the animation will run.opacity
- A number between 0 and 1 denoting the target opacity.complete
- A function to call once the animation is complete.public JQuery fadeToggle(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery fadeToggle(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery fadeToggle(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery fadeToggle(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery filter(String selector)
selector
- A string containing a selector expression to match the current set of elements against.public JQuery filter(Function.A2<? super Number,? super Element,? extends Object> func)
func
- A function used as a test for each element in the set. this is the current DOM element.public JQuery filter(Element element)
element
- An element to match the current set of elements against.public JQuery filter(JQuery obj)
obj
- An existing jQuery object to match the current set of elements against.public JQuery find(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery find(Element element)
element
- An element to match elements against.public JQuery find(JQuery obj)
obj
- A jQuery object to match elements against.public JQuery finish(String queue)
queue
- The name of the queue in which to stop animations.public JQuery finish()
queue
- The name of the queue in which to stop animations.public JQuery first()
public JQuery focus()
public JQuery focus(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery focus(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery focus(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery focusin()
public JQuery focusin(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery focusin(Objs eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery focusout()
public JQuery focusout(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery focusout(Objs eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public HTMLElement get(double index)
index
- A zero-based integer indicating which element to retrieve.public JQuery has(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery has(Element contained)
contained
- A DOM element to match elements against.public Boolean hasClass(String className)
className
- The class name to search for.public double height()
public JQuery height(Function.A2<? super Number,? super Number,? extends Union.A2<Number,String>> func)
func
- A function returning the height to set. Receives the index position of the element in the set and the old height as args. Within the function, this refers to the current element in the set.public JQuery height(double value)
value
- An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).public JQuery height(String value)
value
- An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string).public JQuery hide(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery hide(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery hide(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery hide(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery hover(Function.A1<? super JQueryEventObject,? extends Object> handlerInOut)
handlerInOut
- A function to execute when the mouse pointer enters or leaves the element.public JQuery hover(Function.A1<? super JQueryEventObject,? extends Object> handlerIn, Function.A1<? super JQueryEventObject,? extends Object> handlerOut)
handlerIn
- A function to execute when the mouse pointer enters the element.handlerOut
- A function to execute when the mouse pointer leaves the element.public String html()
public JQuery html(String htmlString)
htmlString
- A string of HTML to set as the content of each matched element.public JQuery html(Function.A2<? super Number,? super String,? extends String> func)
func
- A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as args. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.public double index()
public double index(String selector)
selector
- A selector representing a jQuery collection in which to look for an element.public double index(JQuery selector)
selector
- A selector representing a jQuery collection in which to look for an element.public double index(Element selector)
selector
- A selector representing a jQuery collection in which to look for an element.public double innerHeight()
public JQuery innerHeight(double height)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery innerHeight(String height)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public double innerWidth()
public JQuery innerWidth(double width)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery innerWidth(String width)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery insertAfter(JQuery target)
public JQuery insertAfter(Object[] target)
public JQuery insertAfter(Element target)
public JQuery insertAfter(Text target)
public JQuery insertAfter(String target)
public JQuery insertBefore(JQuery target)
public JQuery insertBefore(Object[] target)
public JQuery insertBefore(Element target)
public JQuery insertBefore(Text target)
public JQuery insertBefore(String target)
public Boolean is(Object elements)
elements
- One or more elements to match the current set of elements against.public Boolean is(String selector)
selector
- A string containing a selector expression to match elements against.public Boolean is(Function.A2<? super Number,? super Element,? extends Boolean> func)
func
- A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element.public Boolean is(JQuery obj)
obj
- An existing jQuery object to match the current set of elements against.public JQuery keydown()
public JQuery keydown(Object eventData, Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery keydown(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery keydown(Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery keypress()
public JQuery keypress(Object eventData, Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery keypress(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery keypress(Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery keyup()
public JQuery keyup(Object eventData, Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery keyup(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery keyup(Function.A1<? super JQueryKeyEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery last()
public JQuery load(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery load()
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery load(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery load(String url, String data, Function.A3<? super String,? super String,? super XMLHttpRequest,? extends Object> complete)
url
- A string containing the URL to which the request is sent.data
- A plain object or string that is sent to the server with the request.complete
- A callback function that is executed when the request completes.public JQuery load(String url, Objs data, Function.A3<? super String,? super String,? super XMLHttpRequest,? extends Object> complete)
url
- A string containing the URL to which the request is sent.data
- A plain object or string that is sent to the server with the request.complete
- A callback function that is executed when the request completes.public JQuery load(String url)
url
- A string containing the URL to which the request is sent.data
- A plain object or string that is sent to the server with the request.complete
- A callback function that is executed when the request completes.public JQuery load(String url, String data)
url
- A string containing the URL to which the request is sent.data
- A plain object or string that is sent to the server with the request.complete
- A callback function that is executed when the request completes.public JQuery load(String url, Objs data)
url
- A string containing the URL to which the request is sent.data
- A plain object or string that is sent to the server with the request.complete
- A callback function that is executed when the request completes.public JQuery load(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery map(Function.A2<? super Number,? super Element,? extends Object> callback)
callback
- A function object that will be invoked for each element in the current set.public JQuery mousedown()
public JQuery mousedown(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mousedown(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery mouseenter()
public JQuery mouseenter(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mouseenter(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery mouseleave()
public JQuery mouseleave(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mouseleave(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery mousemove()
public JQuery mousemove(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mousemove(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery mouseout()
public JQuery mouseout(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mouseout(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery mouseover()
public JQuery mouseover(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mouseover(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery mouseup()
public JQuery mouseup(Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery mouseup(Objs eventData, Function.A1<? super JQueryMouseEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery next(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery next()
selector
- A string containing a selector expression to match elements against.public JQuery nextAll(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery nextAll()
selector
- A string containing a selector expression to match elements against.public JQuery nextUntil(String selector, String filter)
selector
- A string containing a selector expression to indicate where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery nextUntil()
selector
- A string containing a selector expression to indicate where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery nextUntil(String selector)
selector
- A string containing a selector expression to indicate where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery nextUntil(Element element, String filter)
element
- A DOM node or jQuery object indicating where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery nextUntil(Element element)
element
- A DOM node or jQuery object indicating where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery nextUntil(JQuery obj, String filter)
obj
- A DOM node or jQuery object indicating where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery nextUntil(JQuery obj)
obj
- A DOM node or jQuery object indicating where to stop matching following sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery not(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery not(Function.A2<? super Number,? super Element,? extends Boolean> func)
func
- A function used as a test for each element in the set. this is the current DOM element.public JQuery not(Element elements)
elements
- One or more DOM elements to remove from the matched set.public JQuery not(Element[] elements)
elements
- One or more DOM elements to remove from the matched set.public JQuery not(JQuery obj)
obj
- An existing jQuery object to match the current set of elements against.public JQuery off()
public JQuery off(String events, String selector, Function.A1<? super JQueryEventObject,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector
- A selector which should match the one originally passed to .on() when attaching event handlers.handler
- A handler function previously attached for the event(s), or the special value false.public JQuery off(String events)
events
- One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector
- A selector which should match the one originally passed to .on() when attaching event handlers.handler
- A handler function previously attached for the event(s), or the special value false.public JQuery off(String events, String selector)
events
- One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".selector
- A selector which should match the one originally passed to .on() when attaching event handlers.handler
- A handler function previously attached for the event(s), or the special value false.public JQuery off(String events, Function.A1<? super JQueryEventObject,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler
- A handler function previously attached for the event(s), or the special value false.public JQuery off(String events, Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin".handler
- A handler function previously attached for the event(s), or the special value false. Takes handler with extra args that can be attached with on().public JQuery off(Objs events, String selector)
events
- An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).selector
- A selector which should match the one originally passed to .on() when attaching event handlers.public JQuery off(Objs events)
events
- An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s).selector
- A selector which should match the one originally passed to .on() when attaching event handlers.public JQueryCoordinates offset()
public JQuery offset(Function.A2<? super Number,? super JQueryCoordinates,? extends JQueryCoordinates> func)
func
- A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties.public JQuery offset(JQueryCoordinates coordinates)
coordinates
- An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements.public JQuery offsetParent()
public JQuery on(String events, Object data, Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".data
- Data to be passed to the handler in event.data when an event is triggered.handler
- A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.public JQuery on(String events, String selector, Object data, Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".selector
- A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.data
- Data to be passed to the handler in event.data when an event is triggered.handler
- A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.public JQuery on(String events, String selector, Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".selector
- A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.handler
- A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.public JQuery on(String events, Function.A2<? super JQueryEventObject,? super Array<Object>,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".handler
- A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax).public JQuery on(Objs events, Object data)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).data
- Data to be passed to the handler in event.data when an event occurs.public JQuery on(Objs events)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).data
- Data to be passed to the handler in event.data when an event occurs.public JQuery on(Objs events, String selector, Object data)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).selector
- A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.data
- Data to be passed to the handler in event.data when an event occurs.public JQuery on(Objs events, String selector)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).selector
- A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.data
- Data to be passed to the handler in event.data when an event occurs.public JQuery one(String events, String selector, Object data, Function.A1<? super JQueryEventObject,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".selector
- A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.data
- Data to be passed to the handler in event.data when an event is triggered.handler
- A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.public JQuery one(String events, String selector, Function.A1<? super JQueryEventObject,? extends Object> handler)
events
- One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin".selector
- A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element.handler
- A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false.public JQuery one(String events, Function.A1<? super JQueryEventObject,? extends Object> handler)
events
- A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.handler
- A function to execute at the time the event is triggered.public JQuery one(String events, Objs data, Function.A1<? super JQueryEventObject,? extends Object> handler)
events
- A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names.data
- An object containing data that will be passed to the event handler.handler
- A function to execute at the time the event is triggered.public JQuery one(Objs events, Object data)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).data
- Data to be passed to the handler in event.data when an event occurs.public JQuery one(Objs events)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).data
- Data to be passed to the handler in event.data when an event occurs.public JQuery one(Objs events, String selector, Object data)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).selector
- A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.data
- Data to be passed to the handler in event.data when an event occurs.public JQuery one(Objs events, String selector)
events
- An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s).selector
- A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element.data
- Data to be passed to the handler in event.data when an event occurs.public double outerHeight(Boolean includeMargin)
includeMargin
- A Boolean indicating whether to include the element's margin in the calculation.public double outerHeight()
includeMargin
- A Boolean indicating whether to include the element's margin in the calculation.public JQuery outerHeight(double height)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery outerHeight(String height)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public double outerWidth(Boolean includeMargin)
includeMargin
- A Boolean indicating whether to include the element's margin in the calculation.public double outerWidth()
includeMargin
- A Boolean indicating whether to include the element's margin in the calculation.public JQuery outerWidth(double width)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery outerWidth(String width)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery parent(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery parent()
selector
- A string containing a selector expression to match elements against.public JQuery parents(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery parents()
selector
- A string containing a selector expression to match elements against.public JQuery parentsUntil(String selector, String filter)
selector
- A string containing a selector expression to indicate where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQuery parentsUntil()
selector
- A string containing a selector expression to indicate where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQuery parentsUntil(String selector)
selector
- A string containing a selector expression to indicate where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQuery parentsUntil(Element element, String filter)
element
- A DOM node or jQuery object indicating where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQuery parentsUntil(Element element)
element
- A DOM node or jQuery object indicating where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQuery parentsUntil(JQuery obj, String filter)
obj
- A DOM node or jQuery object indicating where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQuery parentsUntil(JQuery obj)
obj
- A DOM node or jQuery object indicating where to stop matching ancestor elements.filter
- A string containing a selector expression to match elements against.public JQueryCoordinates position()
public JQuery prepend(Function.A2<? super Number,? super String,? extends Union.A3<String,Element,JQuery>> func)
public JQuery prepend(JQuery content1, Object... content2)
public JQuery prepend(Object[] content1, Object... content2)
public JQuery prepend(Element content1, Object... content2)
public JQuery prepend(Text content1, Object... content2)
public JQuery prepend(String content1, Object... content2)
public JQuery prependTo(JQuery target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.public JQuery prependTo(Object[] target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.public JQuery prependTo(Element target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.public JQuery prependTo(String target)
target
- A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.public JQuery prev(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery prev()
selector
- A string containing a selector expression to match elements against.public JQuery prevAll(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery prevAll()
selector
- A string containing a selector expression to match elements against.public JQuery prevUntil(String selector, String filter)
selector
- A string containing a selector expression to indicate where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery prevUntil()
selector
- A string containing a selector expression to indicate where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery prevUntil(String selector)
selector
- A string containing a selector expression to indicate where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery prevUntil(Element element, String filter)
element
- A DOM node or jQuery object indicating where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery prevUntil(Element element)
element
- A DOM node or jQuery object indicating where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery prevUntil(JQuery obj, String filter)
obj
- A DOM node or jQuery object indicating where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQuery prevUntil(JQuery obj)
obj
- A DOM node or jQuery object indicating where to stop matching preceding sibling elements.filter
- A string containing a selector expression to match elements against.public JQueryPromise<Object> promise(String type, Objs target)
type
- The type of queue that needs to be observed. (default: fx)target
- Object onto which the promise methods have to be attachedpublic JQueryPromise<Object> promise()
type
- The type of queue that needs to be observed. (default: fx)target
- Object onto which the promise methods have to be attachedpublic JQueryPromise<Object> promise(String type)
type
- The type of queue that needs to be observed. (default: fx)target
- Object onto which the promise methods have to be attachedpublic Object prop(String propertyName)
func
- A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as args. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set.public JQuery prop(String propertyName, Function.A2<? super Number,? super Object,? extends Object> func)
propertyName
- The name of the property to set.func
- A function returning the value to set. Receives the index position of the element in the set and the old property value as args. Within the function, the keyword this refers to the current element.public JQuery prop(String propertyName, String value)
propertyName
- The name of the property to set.value
- A value to set for the property.public JQuery prop(String propertyName, double value)
propertyName
- The name of the property to set.value
- A value to set for the property.public JQuery prop(String propertyName, Boolean value)
propertyName
- The name of the property to set.value
- A value to set for the property.public JQuery prop(Objs properties)
properties
- An object of property-value pairs to set.public JQuery pushStack(Object[] elements)
elements
- An array of elements to push onto the stack and make into a new jQuery object.public JQuery pushStack(Object[] elements, String name, Object[] args)
elements
- An array of elements to push onto the stack and make into a new jQuery object.name
- The name of a jQuery method that generated the array of elements.args
- The args that were passed in to the jQuery method (for serialization).public Array<Object> queue(String queueName)
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public Array<Object> queue()
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.public JQuery queue(String queueName, Function callback)
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.callback
- The new function to add to the queue, with a function to call that will dequeue the next item.public JQuery queue(String queueName, Function[] newQueue)
queueName
- A string containing the name of the queue. Defaults to fx, the standard effects queue.newQueue
- An array of functions to replace the current queue contents.public JQuery queue(Function callback)
callback
- The new function to add to the queue, with a function to call that will dequeue the next item.public JQuery queue(Function[] newQueue)
newQueue
- An array of functions to replace the current queue contents.public JQuery ready(Function.A1<? super JQueryStatic,? extends Object> handler)
handler
- A function to execute after the DOM is ready.public JQuery remove(String selector)
selector
- A selector expression that filters the set of matched elements to be removed.public JQuery remove()
selector
- A selector expression that filters the set of matched elements to be removed.public JQuery removeAttr(String attributeName)
attributeName
- An attribute to remove; as of version 1.7, it can be a space-separated list of attributes.public JQuery removeClass(String className)
className
- One or more space-separated classes to be removed from the class attribute of each matched element.public JQuery removeClass()
className
- One or more space-separated classes to be removed from the class attribute of each matched element.public JQuery removeClass(Function.A2<? super Number,? super String,? extends String> func)
function
- A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as args.public JQuery removeData()
public JQuery removeData(String name)
name
- A string naming the piece of data to delete or space-separated string naming the pieces of data to delete.public JQuery removeData(String[] list)
list
- An array of strings naming the pieces of data to delete.public JQuery removeProp(String propertyName)
propertyName
- The name of the property to remove.public JQuery replaceAll(JQuery target)
target
- A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.public JQuery replaceAll(Object[] target)
target
- A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.public JQuery replaceAll(Element target)
target
- A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.public JQuery replaceAll(String target)
target
- A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace.public JQuery replaceWith(Function.A0<? extends Union.A2<Element,JQuery>> func)
public JQuery replaceWith(JQuery newContent)
public JQuery replaceWith(Object[] newContent)
public JQuery replaceWith(Element newContent)
public JQuery replaceWith(Text newContent)
public JQuery replaceWith(String newContent)
public JQuery resize()
public JQuery resize(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery resize(Objs eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery scroll()
public JQuery scroll(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery scroll(Objs eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public double scrollLeft()
public JQuery scrollLeft(double value)
value
- An integer indicating the new position to set the scroll bar to.public double scrollTop()
public JQuery scrollTop(double value)
value
- An integer indicating the new position to set the scroll bar to.public JQuery select()
public JQuery select(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public JQuery select(Objs eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public String serialize()
public Array<JQuerySerializeArrayElement> serializeArray()
public JQuery show(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery show(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery show(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery show(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery siblings(String selector)
selector
- A string containing a selector expression to match elements against.public JQuery siblings()
selector
- A string containing a selector expression to match elements against.public JQuery slice(double start, double end)
start
- An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.end
- An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.public JQuery slice(double start)
start
- An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set.end
- An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set.public JQuery slideDown(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideDown(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery slideDown(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery slideDown(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery slideToggle(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideToggle(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery slideToggle(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery slideToggle(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery slideUp(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery slideUp(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery slideUp(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery slideUp(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery stop(Boolean clearQueue, Boolean jumpToEnd)
clearQueue
- A Boolean indicating whether to remove queued animation as well. Defaults to false.jumpToEnd
- A Boolean indicating whether to complete the current animation immediately. Defaults to false.public JQuery stop()
clearQueue
- A Boolean indicating whether to remove queued animation as well. Defaults to false.jumpToEnd
- A Boolean indicating whether to complete the current animation immediately. Defaults to false.public JQuery stop(Boolean clearQueue)
clearQueue
- A Boolean indicating whether to remove queued animation as well. Defaults to false.jumpToEnd
- A Boolean indicating whether to complete the current animation immediately. Defaults to false.public JQuery stop(String queue, Boolean clearQueue, Boolean jumpToEnd)
queue
- The name of the queue in which to stop animations.clearQueue
- A Boolean indicating whether to remove queued animation as well. Defaults to false.jumpToEnd
- A Boolean indicating whether to complete the current animation immediately. Defaults to false.public JQuery stop(String queue)
queue
- The name of the queue in which to stop animations.clearQueue
- A Boolean indicating whether to remove queued animation as well. Defaults to false.jumpToEnd
- A Boolean indicating whether to complete the current animation immediately. Defaults to false.public JQuery stop(String queue, Boolean clearQueue)
queue
- The name of the queue in which to stop animations.clearQueue
- A Boolean indicating whether to remove queued animation as well. Defaults to false.jumpToEnd
- A Boolean indicating whether to complete the current animation immediately. Defaults to false.public JQuery submit()
public JQuery submit(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery submit(Object eventData)
eventData
- An object containing data that will be passed to the event handler.handler
- A function to execute each time the event is triggered.public JQuery submit(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute each time the event is triggered.public String text()
public JQuery text(Function.A2<? super Number,? super String,? extends String> func)
func
- A function returning the text content to set. Receives the index position of the element in the set and the old text value as args.public JQuery text(String text)
text
- The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.public JQuery text(double text)
text
- The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.public JQuery text(Boolean text)
text
- The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation.public Array<Object> toArray()
public JQuery toggle(Boolean showOrHide)
showOrHide
- A Boolean indicating whether to show or hide the elements.public JQuery toggle(double duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle(String duration, String easing, Function complete)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle()
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle(double duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle(String duration)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle(double duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle(String duration, String easing)
duration
- A string or number determining how long the animation will run.easing
- A string indicating which easing function to use for the transition.complete
- A function to call once the animation is complete.public JQuery toggle(double duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery toggle(String duration, Function complete)
duration
- A string or number determining how long the animation will run.complete
- A function to call once the animation is complete.public JQuery toggle(JQueryAnimationOptions options)
options
- A map of additional options to pass to the method.public JQuery toggleClass(Boolean swtch)
swtch
- A boolean value to determine whether the class should be added or removed.public JQuery toggleClass()
swtch
- A boolean value to determine whether the class should be added or removed.public JQuery toggleClass(String className, Boolean swtch)
className
- One or more class names (separated by spaces) to be toggled for each element in the matched set.swtch
- A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.public JQuery toggleClass(String className)
className
- One or more class names (separated by spaces) to be toggled for each element in the matched set.swtch
- A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed.public JQuery toggleClass(Function.A3<? super Number,? super String,? super Boolean,? extends String> func, Boolean swtch)
func
- A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as args.swtch
- A boolean value to determine whether the class should be added or removed.public JQuery toggleClass(Function.A3<? super Number,? super String,? super Boolean,? extends String> func)
func
- A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as args.swtch
- A boolean value to determine whether the class should be added or removed.public JQuery trigger(String eventType, Object[] extraParameters)
eventType
- A string containing a JavaScript event type, such as click or submit.extraParameters
- Additional parameters to pass along to the event handler.public JQuery trigger(String eventType, Objs extraParameters)
eventType
- A string containing a JavaScript event type, such as click or submit.extraParameters
- Additional parameters to pass along to the event handler.public JQuery trigger(String eventType)
eventType
- A string containing a JavaScript event type, such as click or submit.extraParameters
- Additional parameters to pass along to the event handler.public JQuery trigger(JQueryEventObject event, Object[] extraParameters)
event
- A jQuery.Event object.extraParameters
- Additional parameters to pass along to the event handler.public JQuery trigger(JQueryEventObject event, Objs extraParameters)
event
- A jQuery.Event object.extraParameters
- Additional parameters to pass along to the event handler.public JQuery trigger(JQueryEventObject event)
event
- A jQuery.Event object.extraParameters
- Additional parameters to pass along to the event handler.public Objs triggerHandler(String eventType, Object... extraParameters)
eventType
- A string containing a JavaScript event type, such as click or submit.extraParameters
- An array of additional parameters to pass along to the event handler.public Objs triggerHandler(JQueryEventObject event, Object... extraParameters)
event
- A jQuery.Event object.extraParameters
- An array of additional parameters to pass along to the event handler.public JQuery unbind(Object evt)
evt
- A JavaScript event object as passed to an event handler.public JQuery unbind(String eventType, Boolean fls)
eventType
- A string containing a JavaScript event type, such as click or submit.fls
- Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ).public JQuery unbind(String eventType, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventType
- A string containing a JavaScript event type, such as click or submit.handler
- The function that is to be no longer executed.public JQuery unbind()
eventType
- A string containing a JavaScript event type, such as click or submit.handler
- The function that is to be no longer executed.public JQuery unbind(String eventType)
eventType
- A string containing a JavaScript event type, such as click or submit.handler
- The function that is to be no longer executed.public JQuery undelegate()
public JQuery undelegate(String namespace)
namespace
- A string containing a namespace to unbind all events from.public JQuery undelegate(String selector, String eventType, Function.A1<? super JQueryEventObject,? extends Object> handler)
selector
- A selector which will be used to filter the event results.eventType
- A string containing a JavaScript event type, such as "click" or "keydown"handler
- A function to execute at the time the event is triggered.public JQuery undelegate(String selector, String eventType)
selector
- A selector which will be used to filter the event results.eventType
- A string containing a JavaScript event type, such as "click" or "keydown"handler
- A function to execute at the time the event is triggered.public JQuery undelegate(String selector, Objs events)
selector
- A selector which will be used to filter the event results.events
- An object of one or more event types and previously bound functions to unbind from them.public JQuery unload(Object eventData, Function.A1<? super JQueryEventObject,? extends Object> handler)
eventData
- A plain object of data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery unload()
eventData
- A plain object of data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery unload(Object eventData)
eventData
- A plain object of data that will be passed to the event handler.handler
- A function to execute when the event is triggered.public JQuery unload(Function.A1<? super JQueryEventObject,? extends Object> handler)
handler
- A function to execute when the event is triggered.public JQuery unwrap()
public Object val()
public JQuery val(Function.A2<? super Number,? super String,? extends String> func)
func
- A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as args.public JQuery val(String value)
value
- A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.public JQuery val(String[] value)
value
- A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.public JQuery val(double value)
value
- A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked.public double width()
public JQuery width(Function.A2<? super Number,? super Number,? extends Union.A2<Number,String>> func)
func
- A function returning the width to set. Receives the index position of the element in the set and the old width as args. Within the function, this refers to the current element in the set.public JQuery width(double value)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery width(String value)
value
- An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string).public JQuery wrap(Function.A1<? super Number,? extends Union.A2<String,JQuery>> func)
func
- A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.public JQuery wrap(JQuery wrappingElement)
wrappingElement
- A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.public JQuery wrap(Element wrappingElement)
wrappingElement
- A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.public JQuery wrap(String wrappingElement)
wrappingElement
- A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.public JQuery wrapAll(Function.A1<? super Number,? extends String> func)
public JQuery wrapAll(JQuery wrappingElement)
wrappingElement
- A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.public JQuery wrapAll(Element wrappingElement)
wrappingElement
- A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.public JQuery wrapAll(String wrappingElement)
wrappingElement
- A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements.public JQuery wrapInner(Function.A1<? super Number,? extends String> func)
func
- A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set.public JQuery wrapInner(JQuery wrappingElement)
wrappingElement
- An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.public JQuery wrapInner(Element wrappingElement)
wrappingElement
- An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.public JQuery wrapInner(String wrappingElement)
wrappingElement
- An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements.Copyright © 2018. All rights reserved.