mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-25 11:11:46 +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;
|
|
} |