blockly > serialization > workspaceComments > append
serialization.workspaceComments.append() function
Appends the comment defined by the given state to the given workspace.
Signature:
export declare function append(state: State, workspace: Workspace, input?: {
recordUndo?: boolean;
}): WorkspaceComment;
Parameters
Parameter | Type | Description |
|---|---|---|
state | State | |
workspace | ||
{ recordUndo } | (not declared) | (Optional) |
input | { recordUndo?: boolean; } | (Optional) |
Returns: