blockly > RenderedConnection > setCheck

RenderedConnection.setCheck() 方法

變更連線的相容性。視需要重新轉譯區塊。

Signature:

setCheck(check: string | string[] | null): RenderedConnection;

參數

參數 類型 說明
check string | string[] | null 相容的值類型或值類型清單。如果所有類型都相容,則為空值。

傳回:

RenderedConnection

修改連線 (允許鏈結)。