Skip to main content

blockly > comments > RenderedWorkspaceComment > setDeleteStyle

comments.RenderedWorkspaceComment.setDeleteStyle() method

Visually indicates that this comment would be deleted if dropped.

Signature:

setDeleteStyle(wouldDelete: boolean): void;

Parameters

Parameter

Type

Description

wouldDelete

boolean

Returns:

void