mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 10:56:19 +08:00
Merge branch 'jquery-extend-branch/fix' into jquery-extend
This commit is contained in:
4
jquery/jquery.d.ts
vendored
4
jquery/jquery.d.ts
vendored
@@ -2587,7 +2587,7 @@ interface JQuery {
|
||||
*
|
||||
* param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of 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.
|
||||
*/
|
||||
after(func: (index: number) => string|Element|JQuery): JQuery;
|
||||
after(func: (index: number, html: string) => string|Element|JQuery): JQuery;
|
||||
|
||||
/**
|
||||
* Insert content, specified by the parameter, to the end of each element in the set of matched elements.
|
||||
@@ -2622,7 +2622,7 @@ interface JQuery {
|
||||
*
|
||||
* param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of 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.
|
||||
*/
|
||||
before(func: (index: number) => string|Element|JQuery): JQuery;
|
||||
before(func: (index: number, html: string) => string|Element|JQuery): JQuery;
|
||||
|
||||
/**
|
||||
* Create a deep copy of the set of matched elements.
|
||||
|
||||
Reference in New Issue
Block a user