RSX Code Reference
    Preparing search index...

    Class DragDrop

    The DragDrop class provides drag and drop events within the engine.

    Operating specific drag and drop events are not handled by this class.

    Index
    • get data(): IDragDropData

      Data being currently dragged or dropped. Drag and drop must be currently in progress or have finished this frame for this data to be valid.

      Returns IDragDropData

    • get dragInProgress(): boolean

      Determines if a drag and drop operation in progress this frame.

      Returns boolean

    • get dropInProgress(): boolean

      Determines if a drag and drop operation finished this frame.

      Returns boolean

      • Cancels the current drag.

      Returns void

    • Starts a new drag and drop operations. Drag and drop operation ends automatically when the mouse button is released.

      Parameters

      • data: IDragDropData

        Data to drag around. This will be passed to the element that accepts the drop operation.

      Returns void