blockly >fieldRegistry >取消注册

fieldRegistry.unregister() 函数

取消注册通过指定类型注册的字段。

Signature:

export declare function unregister(type: string): void;

参数

参数 类型 说明
类型 字符串 JSON 定义中使用的字段类型名称。

返回

void