Icard/angular-clarity-master(work.../node_modules/angular-gridster2/lib/gridsterScroll.service.d.ts

8 lines
598 B
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
import { GridsterResizeEventType } from './gridsterResizeEventType.interface';
import { GridsterComponentInterface } from './gridster.interface';
type Position = Pick<MouseEvent, 'clientX' | 'clientY'>;
type CalculatePosition = (position: Position) => void;
export declare function scroll(gridster: GridsterComponentInterface, left: number, top: number, width: number, height: number, event: MouseEvent, lastMouse: Position, calculateItemPosition: CalculatePosition, resize?: boolean, resizeEventScrollType?: GridsterResizeEventType): void;
export declare function cancelScroll(): void;
export {};