Added domready and domdelegate

This commit is contained in:
dotnetnerd
2014-01-21 13:34:19 +01:00
parent 33f0f10e5f
commit 2b11fad40b
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
declare function domready(callback: () => any) : void;
+8
View File
@@ -0,0 +1,8 @@
declare class Delegate
{
constructor(element: HTMLElement);
on(eventType: string, selector: string, callback : () => any);
on(eventType: string, callback:() => any);
}