Home > blockly > comments > RenderedWorkspaceComment > setPlaceholderText
comments.RenderedWorkspaceComment.setPlaceholderText() method
Sets the placeholder text displayed if the comment is empty.
Signature:
setPlaceholderText(text: string): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| text | string |
Returns:
void