blockly > Events > CommentBase
Events.CommentBase 類別
留言事件的抽象類別。
Signature:
export declare class CommentBase extends AbstractEvent
擴充: AbstractEvent
建構函式
建構函式 | 修飾符 | 說明 |
---|---|---|
(建構函式)(opt_comment) | 建構 CommentBase 類別的新執行個體 |
屬性
屬性 | 修飾符 | 類型 | 說明 |
---|---|---|---|
commentId? | 字串 | (選填) 這個活動所參照的留言 ID。 | |
isBlank | boolean |
方法
方法 | 修飾符 | 說明 |
---|---|---|
CommentCreateDeleteHelper(event, create) | static |
註解的輔助函式 [Create|Delete] |
toJson() | 將事件編碼為 JSON。 |