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

blockly > WorkspaceSvg > (constructor)

WorkspaceSvg.(constructor)

Constructs a new instance of the WorkspaceSvg class

Signature:

constructor(options: Options, opt_blockDragSurface?: BlockDragSurfaceSvg, opt_wsDragSurface?: WorkspaceDragSurfaceSvg);

Parameters

Parameter Type Description
options Options Dictionary of options.
opt_blockDragSurface BlockDragSurfaceSvg (Optional) Drag surface for blocks.
opt_wsDragSurface WorkspaceDragSurfaceSvg (Optional) Drag surface for the workspace.