UNPKG

ngx-eagle

Version:

UI component infrastructure and Design components for mobile and desktop Angular web applications.

21 lines (17 loc) 483 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 enum MoveTypes { Drag = 'drag', Move = 'move', Resize = 'resize', Pinch = 'pinch' }