
export interface Props {
  
  isActive?: boolean
  
  preventActiveBehavior?: boolean
  
  parentW?: number
  
  parentH?: number
  
  parentScaleX?: number
  
  parentScaleY?: number
  
  isDraggable?: boolean
  
  isResizable?: boolean
  
  parentLimitation?: boolean
  
  snapToGrid?: boolean
  
  gridX?: number
  
  gridY?: number
  
  aspectRatio?: boolean
  
  w?: number | string
  
  h?: number | string
  
  minw?: number
  
  minh?: number
  
  x?: number
  
  y?: number
  
  z?: number | string
  
  stickSize?: number
  
  sticks?: any
  
  axis?: string
  
  dragHandle?: string
  
  dragCancel?: string
  
  contentClass?: string
}
export interface rectType {
  
  left: number
  
  top: number
  
  width: number
  
  height: number
}
export interface Emits {
  
  (e: 'clicked', ev: any): void
  
  (e: 'dragging', rect: rectType): void
  
  (e: 'dragstop', rect: rectType): void
  
  (e: 'resizing', rect: rectType): void
  
  (e: 'resizestop', rect: rectType): void
  
  (e: 'activated'): void
  
  (e: 'deactivated'): void
}


