blockly > serialization > workspaces
serialization.workspaces namespace
Functions
Function | Description |
---|---|
load(state, workspace, { recordUndo }) | Loads the variable represented by the given state into the given workspace. |
save(workspace) | Returns the state of the workspace as a plain JavaScript object. |