mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-16 12:09:24 +08:00
Add jQuery.finish method
This commit is contained in:
2
jquery/jquery-1.9.d.ts
vendored
2
jquery/jquery-1.9.d.ts
vendored
@@ -442,6 +442,8 @@ interface JQuery {
|
||||
fadeToggle(duration?: any, callback?: any): JQuery;
|
||||
fadeToggle(duration?: any, easing?: string, callback?: any): JQuery;
|
||||
|
||||
finish(): JQuery;
|
||||
|
||||
hide(duration?: any, callback?: any): JQuery;
|
||||
hide(duration?: any, easing?: string, callback?: any): JQuery;
|
||||
|
||||
|
||||
@@ -1366,6 +1366,10 @@ function test_find() {
|
||||
.css({ "font-style": "italic", "font-weight": "bolder" });
|
||||
}
|
||||
|
||||
function test_finish() {
|
||||
$(".box").finish();
|
||||
}
|
||||
|
||||
function test_first() {
|
||||
$('li').first().css('background-color', 'red');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user