Stay organized with collections Save and categorize content based on your preferences.

blockly > WorkspaceDragger

WorkspaceDragger class

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.

Signature:

export declare class WorkspaceDragger 

Constructors

Constructor Modifiers Description
(constructor)(workspace) Constructs a new instance of the WorkspaceDragger class

Properties

Property Modifiers Type Description
startScrollXY_ protected Coordinate