mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
jQuery: JSDoc continues
This commit is contained in:
19
jquery/jquery.d.ts
vendored
19
jquery/jquery.d.ts
vendored
@@ -1033,13 +1033,26 @@ interface JQueryStatic {
|
||||
*/
|
||||
parseXML(data: string): XMLDocument;
|
||||
|
||||
queue(element: Element, queueName: string, newQueue: any[]): JQuery;
|
||||
|
||||
/**
|
||||
* Remove the whitespace from the beginning and end of a string.
|
||||
*
|
||||
* @param str Remove the whitespace from the beginning and end of a string.
|
||||
*/
|
||||
trim(str: string): string;
|
||||
|
||||
/**
|
||||
* Determine the internal JavaScript [[Class]] of an object.
|
||||
*
|
||||
* @param obj Object to get the internal JavaScript [[Class]] of.
|
||||
*/
|
||||
type(obj: any): string;
|
||||
|
||||
unique(arr: any[]): any[];
|
||||
/**
|
||||
* Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers.
|
||||
*
|
||||
* @param array The Array of DOM elements.
|
||||
*/
|
||||
unique(array: Element[]): Element[];
|
||||
|
||||
/**
|
||||
* Parses a string into an array of DOM nodes.
|
||||
|
||||
Reference in New Issue
Block a user