Function: setLastCopiedWorkspace()
function setLastCopiedWorkspace(workspace): void;
Defined in: packages/blockly/core/clipboard.ts:101
Sets the workspace that was last copied from. You should call this method if you implement custom copy behavior, so that other callers are working with the correct data. This method is called automatically if you use the built-in copy method.
Parameters
| Parameter | Type | Description |
|---|---|---|
workspace | WorkspaceSvg | workspace that was last copied from. |
Returns
void