blockly > comments > CommentEditor > (constructor)
comments.CommentEditor.(constructor)
CommentEditor クラスの新しいインスタンスを構築します。
署名:
constructor(workspace: WorkspaceSvg, commentId?: string, onFinishEditing?: (() => void) | undefined);
パラメータ
| パラメータ | 型 | 説明 |
|---|---|---|
| ワークスペース | WorkspaceSvg | |
| commentId | 文字列 | (省略可) |
| onFinishEditing | (() => void) | undefined | (省略可) |