Interface for object that can be dragged by mouse.

Hierarchy

Methods

  • Get dragging mode of object. Defines how the object can be dragged by mouse.

    Returns

    Object itself

    Returns UIDraggingModes

  • Set dragging mode of object. Defines how the object can be dragged by mouse.

    See UIDraggingModes collection for options.

    Returns

    Object itself

    Parameters

    • Optional draggingMode: UIDraggingModes

      DraggingMode or undefined to disable dragging

    Returns Draggable