UNPKG

@rangertechnologies/ngnxt

Version:

This library was used for creating dymanic UI based on the input JSON/data

18 lines (17 loc) 511 B
import { CropperPosition, ImageTransform } from './'; export type Position = 'left' | 'topleft' | 'top' | 'topright' | 'right' | 'bottomright' | 'bottom' | 'bottomleft' | 'center'; export interface MoveStart { active: boolean; type: MoveTypes | null; position: Position | null; transform?: ImageTransform; cropper: CropperPosition; clientX: number; clientY: number; } export declare enum MoveTypes { Drag = "drag", Move = "move", Resize = "resize", Pinch = "pinch" }