react-moveable
Version:
A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
14 lines (13 loc) • 549 B
TypeScript
import { MatrixInfo } from "../types";
export declare function getShadowRoot(parentElement: HTMLElement | SVGElement): Node | undefined;
export interface MatrixStackInfo {
zoom: number;
offsetContainer: HTMLElement;
matrixes: MatrixInfo[];
targetMatrix: number[];
transformOrigin: number[];
targetOrigin: number[];
is3d: boolean;
hasFixed: boolean;
}
export declare function getMatrixStackInfo(target: SVGElement | HTMLElement, container?: SVGElement | HTMLElement | null, checkContainer?: boolean): MatrixStackInfo;