blockly > comments > CommentEditor > (constructor)

comments.CommentEditor.(constructor)

CommentEditor sınıfının yeni bir örneğini oluşturur.

İmza:

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

Parametreler

Parametre Tür Açıklama
çalışma alanı WorkspaceSvg
commentId dize (İsteğe bağlı)
onFinishEditing (() => void) | undefined (İsteğe bağlı)