blockly > comments > CommentEditor > (constructor)

comments.CommentEditor.(constructor)

יוצר מופע חדש של המחלקה CommentEditor

Signature:

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

פרמטרים

פרמטר סוג תיאור
סביבת עבודה WorkspaceSvg
commentId מחרוזת (אופציונלי)
onFinishEditing (() => void) | undefined (אופציונלי)