mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix wrong tile (embarrassed) and add some comments
This commit is contained in:
Vendored
+17
-3
@@ -1,4 +1,4 @@
|
||||
// Type definitions for jQuery Cookie Plugin 1.3
|
||||
// Type definitions for jQuery BlockUI Plugin
|
||||
// Project: http://malsup.com/jquery/block/
|
||||
// Definitions by: Jeffrey Lee <http://blog.darkthread.net/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -98,18 +98,32 @@ interface JQBlockUIOptions {
|
||||
}
|
||||
|
||||
interface JQBlockUIStatic {
|
||||
/** default options */
|
||||
default?: JQBlockUIOptions;
|
||||
/** block user activity for the page */
|
||||
(): void;
|
||||
/**
|
||||
* block user activity for the page
|
||||
* @param options options
|
||||
*/
|
||||
(option: JQBlockUIOptions): void;
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
/** block user activity for the page */
|
||||
blockUI?: JQBlockUIStatic;
|
||||
/** unblock the page */
|
||||
unblockUI?: () => void;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
/**
|
||||
* block the element(s)
|
||||
* @param options block options
|
||||
*/
|
||||
block(option?: JQBlockUIOptions): JQuery;
|
||||
/**
|
||||
* unblock the element(s)
|
||||
*/
|
||||
unblock(): JQuery;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user