activity-calendar
Version:
a simple activity calendar
14 lines (13 loc) • 369 B
TypeScript
export declare type EventCallback = (event?: Event, ...any: any) => void;
export interface IEventListener {
type: string;
callback: EventCallback;
}
export default class Event {
readonly type: string;
protected _data: any;
protected _isPrevented: boolean;
constructor(type: string);
preventDefault(): void;
get isPrevented(): boolean;
}