blockly > serialization > workspaceComments > WorkspaceCommentSerializer > load
serialization.workspaceComments.WorkspaceCommentSerializer.load() method
Deserializes the comments defined by the given state into the given workspace.
Signature:
load(state: State[], workspace: Workspace): void;
Parameters
Parameter | Type | Description |
---|---|---|
state | State[] | |
workspace | Workspace |
Returns:
void