blockly > WorkspaceComment

WorkspaceComment class

Class for a workspace comment.


export declare class WorkspaceComment 


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


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


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