mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-04 16:04:45 +08:00
14 lines
427 B
TypeScript
14 lines
427 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 : (event : any) => any) : void;
|
|
|
|
on(eventType: string, callback:(event : any) => any) : void;
|
|
} |