LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


IntegralUIDragDropService

Provides a way to use drag drop operations between custom components or elements in Angular 2.

Methods


  • clearData
  • Removes the currently present drag drop data
  • getData
  • Returns the data that is attached during drag drop operation
  • getDropPos
  • Returns the position where the dragged object will drop: 0, 1, 2 or -1
  • hitTest
  • Checks whether the specified coordinates are within specified bounds, to determine the drop position
  • setData
  • Sets a new drag drop data