sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Methods

    • Sever all links from this object.

      Returns void

    • Execute a step of block dragging, based on the given event. Update the display accordingly.

      Parameters

      • e: Event

        The most recent move event.

      • currentDragDeltaXY: Blockly.utils.Coordinate

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

      Returns void

    • Finish a block drag and put the block back on the workspace.

      Parameters

      • e: Event

        The mouseup/touchend event.

      • currentDragDeltaXY: Blockly.utils.Coordinate

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

      Returns void

    • Get a list of the insertion markers that currently exist. Drags have 0, 1, or 2 insertion markers.

      Returns Blockly.BlockSvg[]

      A possibly empty list of insertion marker blocks.

    • Start dragging a block. This includes moving it to the drag surface.

      Parameters

      • currentDragDeltaXY: Blockly.utils.Coordinate

        How far the pointer has moved from the position at mouse down, in pixel units.

      • healStack: boolean

        Whether or not to heal the stack after disconnecting.

      Returns void