blockly > Events > CommentBase > CommentCreateDeleteHelper
Events.CommentBase.CommentCreateDeleteHelper() 方法
註解的輔助函式 [Create|Delete]
Signature:
static CommentCreateDeleteHelper(event: CommentCreate | CommentDelete, create: boolean): void;
參數
參數 | 類型 | 說明 |
---|---|---|
event | CommentCreate | CommentDelete | 要執行的事件。 |
create | boolean | 若為 True,則為 [Create] (若為 False),則為「Delete」(刪除) |
傳回:
void