Skip to main content

Home > blockly > icons > CommentState

icons.CommentState interface

The save state format for a comment icon.

Signature:

export interface CommentState 

Properties

PropertyModifiersTypeDescription
height?number(Optional) The height of the comment bubble.
pinned?boolean(Optional) True if the comment is open, false otherwise.
text?string(Optional) The text of the comment.
width?number(Optional) The width of the comment bubble.
x?number(Optional) The X coordinate of the comment bubble.
y?number(Optional) The Y coordinate of the comment bubble.