blockly > WorkspaceComment

WorkspaceComment class

Class for a workspace comment.

Signature:

export declare class WorkspaceComment 

Constructors

Constructor Modifiers Description
(constructor)(workspace, content, height, width, opt_id) Constructs a new instance of the WorkspaceComment class

Properties

Property Modifiers Type Description
content_ protected string
disposed_ protected boolean Whether this comment has been disposed.
height_ protected number
id string
RTL protected boolean
width_ protected number
workspace Workspace
xy_ protected Coordinate

Methods

Method Modifiers Description
isEditable() Get whether this comment is editable or not.
setEditable(editable) Set whether this comment is editable or not.