blockly > comments > CommentView > (构造函数)

comments.CommentView.(constructor)

构造 CommentView 类的新实例

Signature:

constructor(workspace: WorkspaceSvg, commentId: string);

参数

参数 类型 说明
工作区 WorkspaceSvg
commentId 字符串