blockly >fieldRegistry>RegistrableField

FieldRegistry.RegistrableField 介面

代表所有已註冊欄位 (即建構函式和 fromJson 方法) 中必須定義的靜態方法。

由於我們不知道要註冊哪個 Field 子類別,因此無法檢查建構函式的參數。

Signature:

export interface RegistrableField 

方法

方法 說明
(新)(args)
fromJson(options)