mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 21:12:38 +08:00
14 lines
405 B
TypeScript
14 lines
405 B
TypeScript
// Type definitions for ftdomdelegate
|
|
// Project: https://github.com/ftlabs/ftdomdelegate
|
|
// Definitions by: Christian Holm Nielsen
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
|
|
declare class Delegate
|
|
{
|
|
constructor(element: HTMLElement);
|
|
|
|
on(eventType: string, selector: string, callback : () => any) : void;
|
|
|
|
on(eventType: string, callback:() => any) : void;
|
|
} |