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-scroll/index.d.ts

61 lines
1.9 KiB

declare module '@interactjs/core/scope' {
interface Scope {
autoScroll: typeof autoScroll;
}
}
declare module '@interactjs/core/Interaction' {
interface Interaction {
autoScroll?: typeof autoScroll;
}
}
declare module '@interactjs/core/defaultOptions' {
interface PerActionDefaults {
autoScroll?: AutoScrollOptions;
}
}
export interface AutoScrollOptions {
container?: Window | HTMLElement;
margin?: number;
distance?: number;
interval?: number;
speed?: number;
enabled?: boolean;
}
declare const autoScroll: {
defaults: AutoScrollOptions;
now: () => number;
interaction: import("@interactjs/core/Interaction").Interaction<any>;
i: number;
x: number;
y: number;
isScrolling: boolean;
prevTime: number;
margin: number;
speed: number;
start(interaction: import("@interactjs/core/Interaction").Interaction<any>): void;
stop(): void;
scroll(): void;
check(interactable: import("@interactjs/core/Interactable").Interactable, actionName: import("@interactjs/core/scope").ActionName): boolean;
onInteractionMove<T extends import("@interactjs/core/scope").ActionName>({ interaction, pointer }: {
interaction: import("@interactjs/core/Interaction").Interaction<T>;
pointer: import("@interactjs/types/types").PointerType;
}): void;
};
export declare function getContainer(value: any, interactable: Interact.Interactable, element: Interact.Element): any;
export declare function getScroll(container: any): {
x: any;
y: any;
};
export declare function getScrollSize(container: any): {
x: any;
y: any;
};
export declare function getScrollSizeDelta<T extends Interact.ActionName>({ interaction, element }: {
interaction: Partial<Interact.Interaction<T>>;
element: Interact.Element;
}, func: any): {
x: number;
y: number;
};
declare const autoScrollPlugin: Interact.Plugin;
export default autoScrollPlugin;