mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
Add jQuery.finish method
This commit is contained in:
1 parent
051bd2d6b2
commit
e45cc5aec1
2 files changed
+6
No files matched your search
Vendored
+2
@@ -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