Skip to main content

blockly > serialization > workspaces

serialization.workspaces namespace

Functions

Function

Description

[load(state, workspace, { recordUndo })](/reference/js/blockly.serialization_namespace.workspaces_namespace.load_1_function)

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.