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/auto-start/base.d.ts

50 lines
1.6 KiB

4 years ago
declare module '@interactjs/interact/interact' {
interface InteractStatic {
maxInteractions: (newValue: any) => any;
}
}
declare module '@interactjs/core/scope' {
interface Scope {
autoStart: AutoStart;
maxInteractions: (...args: any[]) => any;
}
interface SignalArgs {
'autoStart:before-start': Interact.SignalArgs['interactions:move'];
'autoStart:prepared': {
interaction: Interact.Interaction;
};
'auto-start:check': CheckSignalArg;
}
}
declare module '@interactjs/core/defaultOptions' {
interface BaseDefaults {
actionChecker?: any;
cursorChecker?: any;
styleCursor?: any;
}
interface PerActionDefaults {
manualStart?: boolean;
max?: number;
maxPerElement?: number;
allowFrom?: string | Interact.Element;
ignoreFrom?: string | Interact.Element;
cursorChecker?: Interact.CursorChecker;
mouseButtons?: 0 | 1 | 2 | 4 | 16;
}
}
interface CheckSignalArg {
interactable: Interact.Interactable;
interaction: Interact.Interaction;
element: Interact.Element;
action: Interact.ActionProps;
buttons: number;
}
export interface AutoStart {
maxInteractions: number;
withinInteractionLimit: typeof withinInteractionLimit;
cursorElement: Interact.Element;
}
declare function withinInteractionLimit<T extends Interact.ActionName>(interactable: Interact.Interactable, element: Interact.Element, action: Interact.ActionProps<T>, scope: Interact.Scope): boolean;
declare const autoStart: Interact.Plugin;
export default autoStart;