StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/@interactjs/utils/events.d.ts

42 lines
1.7 KiB

declare type Listener = (event: Event | FakeEvent) => any;
declare function add(element: EventTarget, type: string, listener: Listener, optionalArg?: boolean | any): void;
declare function remove(element: EventTarget, type: string, listener?: 'all' | Listener, optionalArg?: boolean | any): void;
declare function addDelegate(selector: string, context: Node, type: string, listener: Listener, optionalArg?: any): void;
declare function removeDelegate(selector: string, context: Document | Interact.Element, type: string, listener?: Listener, optionalArg?: any): void;
declare function delegateListener(event: Event, optionalArg?: any): void;
declare function delegateUseCapture(event: Event): any;
export declare class FakeEvent implements Partial<Event> {
originalEvent: Event;
currentTarget: EventTarget;
constructor(originalEvent: Event);
preventOriginalDefault(): void;
stopPropagation(): void;
stopImmediatePropagation(): void;
}
declare const events: {
add: typeof add;
remove: typeof remove;
addDelegate: typeof addDelegate;
removeDelegate: typeof removeDelegate;
delegateListener: typeof delegateListener;
delegateUseCapture: typeof delegateUseCapture;
delegatedEvents: {
[type: string]: {
selectors: string[];
contexts: Node[];
listeners: [Listener, boolean, boolean][][];
};
};
documents: Document[];
supportsOptions: boolean;
supportsPassive: boolean;
_elements: EventTarget[];
_targets: {
events: {
[type: string]: Listener[];
};
typeCount: number;
}[];
init(window: Window): void;
};
export default events;