blockly > ComponentManager > removeComponent
Phương thức ComponentManager.removeComponent()
Xoá một thành phần.
Chữ ký:
removeComponent(id: string): void;
Các tham số
Thông số | Loại | Nội dung mô tả |
---|---|---|
id | string | Mã của thành phần cần xoá. |
Trả về:
void