Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • Parameters

    • offset: any
    • handlers: {} = {}

      Returns ResizeHandle

    Properties

    offset: any
    handlers: {}

    Type declaration

      buttonMode: boolean
      active: boolean = false

      Track whether the handle is being actively used for a drag workflow

      hitArea: Rectangle
      interactive: boolean

      Methods

      • refresh(bounds: any): void
      • Parameters

        • bounds: any

        Returns void

      • updateDimensions(current: any, origin: any, destination: any, __namedParameters?: { aspectRatio: any }): { x: any; y: any; width: number; height: number }
      • Parameters

        • current: any
        • origin: any
        • destination: any
        • __namedParameters: { aspectRatio: any } = {}
          • aspectRatio: any

        Returns { x: any; y: any; width: number; height: number }

        • x: any
        • y: any
        • width: number
        • height: number
      • activateListeners(): void
      • Returns void

      • _onHoverIn(event: InteractionEvent): void
      • Handle mouse-over event on a control handle

        Parameters

        • event: InteractionEvent

          The mouseover event

        Returns void

      • _onHoverOut(event: InteractionEvent): void
      • Handle mouse-out event on a control handle

        Parameters

        • event: InteractionEvent

          The mouseout event

        Returns void

      • _onMouseDown(event: InteractionEvent): void
      • When we start a drag event - create a preview copy of the Tile for re-positioning

        Parameters

        • event: InteractionEvent

          The mousedown event

        Returns void