sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    • Class for a workspace dragger. It moves the workspace around when it is being dragged by a mouse or touch. Note that the workspace itself manages whether or not it has a drag surface and how to do translations based on that. This simply passes the right commands based on events.

      Parameters

      Returns WorkspaceDragger

    Methods

    • Sever all links from this object.

      Returns void

    • Move the workspace based on the most recent mouse movements.

      Parameters

      • currentDragDeltaXY: Blockly.utils.Coordinate

        How far the pointer has moved from the position at the start of the drag, in pixel coordinates.

      Returns void

    • Finish dragging the workspace and put everything back where it belongs.

      Parameters

      • currentDragDeltaXY: Blockly.utils.Coordinate

        How far the pointer has moved from the position at the start of the drag, in pixel coordinates.

      Returns void

    • Start dragging the workspace.

      Returns void