封鎖 >封鎖 >setCommentText

Block.setCommentText() 方法

設定這個區塊的留言文字。

Signature:

setCommentText(text: string | null): void;

參數

參數 類型 說明
文字 字串 |空值 要刪除的文字,或傳回 null。

傳回:

void