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.


export declare class WorkspaceDragger 


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


Property Modifiers Type Description
startScrollXY_ protected Coordinate