@antv/x6-react-components
Version:
React components for building x6 editors
7 lines (6 loc) • 527 B
TypeScript
export declare function getJudgeFunction(fn: any): any;
export declare function translatePosition(style: CSSStyleDeclaration, x: number, y: number, initialRender?: boolean): void;
export declare function debounce(func: (...args: any[]) => any, wait: number, context: any, setTimeoutFunc?: ((handler: TimerHandler, timeout?: number | undefined, ...arguments: any[]) => number) & typeof setTimeout, clearTimeoutFunc?: ((id: number | undefined) => void) & typeof clearTimeout): {
(...args: any[]): void;
reset(): void;
};