Home > blockly > comments > RenderedWorkspaceComment > (constructor)
comments.RenderedWorkspaceComment.(constructor)
Constructs the workspace comment, including the view.
Signature:
constructor(workspace: WorkspaceSvg, id?: string);
Parameters
| Parameter | Type | Description |
|---|---|---|
| workspace | WorkspaceSvg | |
| id | string | (Optional) |