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 $('