advanced-cropper
Version:
The core of the advanced cropper libraries family
6 lines (5 loc) • 437 B
TypeScript
import { Size } from "../types/index";
declare function stretchCropperBoundary(boundary: HTMLElement, stretcher: HTMLElement, size: Size): void;
declare function stretchPreviewBoundary(boundary: HTMLElement, stretcher: HTMLElement, size: Size): void;
type BoundaryStretchAlgorithm = (boundary: HTMLElement, stretcher: HTMLElement, size: Size) => void;
export { stretchCropperBoundary, stretchPreviewBoundary, BoundaryStretchAlgorithm };