blockly > comments > CommentEditor > (constructeur)

comments.CommentEditor.(constructor)

Construit une instance de la classe CommentEditor.

Signature :

constructor(workspace: WorkspaceSvg, commentId?: string, onFinishEditing?: (() => void) | undefined);

Paramètres

Paramètre Type Description
espace de travail WorkspaceSvg
commentId chaîne (Facultatif)
onFinishEditing (() => void) | undefined (Facultatif)