igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
9 lines (8 loc) • 370 B
TypeScript
import type { ResizeProps, ResizeSpanProps, SnappedDimension } from './types.js';
export declare class ResizeUtil {
private gap;
constructor(gap: number);
calculateSnappedDimension(resizeProps: ResizeProps): SnappedDimension;
calculateResizedSpan(props: ResizeSpanProps): number;
calculatePosition(targetPosition: number, sizes: number[]): number;
}