blockly > Sự kiện > CommentBase > CommentCreateDeleteHelper
Phương thức Events.commentBase.commentCreateDeleteHelper()
Chức năng trợ giúp dành cho nhận xét[Tạo|Xoá]
Chữ ký:
static CommentCreateDeleteHelper(event: CommentCreate | CommentDelete, create: boolean): void;
Các tham số
Thông số | Loại | Nội dung mô tả |
---|---|---|
event | CommentCreate | CommentDelete | Sự kiện sẽ chạy. |
create | boolean | nếu Đúng thì Tạo, nếu Sai thì Xoá |
Trả về:
void