blockly > comments > DeleteCommentBarButton > (constructor)
comments.DeleteCommentBarButton.(constructor)
สร้างอินสแตนซ์ DeleteCommentBarButton ใหม่
ลายเซ็น:
constructor(id: string, workspace: WorkspaceSvg, container: SVGGElement);
พารามิเตอร์
พารามิเตอร์ | ประเภท | คำอธิบาย |
---|---|---|
id | สตริง | รหัสของความคิดเห็นหลักของปุ่มนี้ |
พื้นที่ทำงาน | WorkspaceSvg | พื้นที่ทำงานที่ความคิดเห็นหลักของปุ่มนี้แสดงอยู่ |
คอนเทนเนอร์ | SVGGElement | กลุ่ม SVG ที่ปุ่มนี้ควรเป็นองค์ประกอบย่อย |