From 0750ce628769070369ff48d7a7f4e323c40e7075 Mon Sep 17 00:00:00 2001 From: PeterNz Date: Sun, 28 Jun 2015 21:10:13 +1200 Subject: [PATCH] Add up to date typescript definition file --- blockUI.d.ts | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 blockUI.d.ts diff --git a/blockUI.d.ts b/blockUI.d.ts new file mode 100644 index 0000000..8bc53dc --- /dev/null +++ b/blockUI.d.ts @@ -0,0 +1,67 @@ +//downloaded from http://malsup.com/jquery/block/#faq 26/Jun/2015 + +/// + + +interface JQueryStatic { + // global $ methods for blocking/unblocking the entire page + blockUI: BlockUI; + unblockUI(property?: blockUIOptions); + + // convenience method for quick growl-like notifications (http://www.google.com/search?q=growl) + growlUI(title: string, message: string, timeout: number, onClose: () => void); +} +interface JQuery { + // plugin method for blocking element content + block: (options: blockUIOptions) => JQuery; + // plugin method for unblocking element content + unblock: (options: blockUIOptions) => JQuery; +} + +//Css Properties +//BlockUI feeds css object to $('