blockly > 序列化 > exceptions > UnregisteredIcon > (构造函数)

serialization.exceptions.UnregisteredIcon.(constructor)

构造 UnregisteredIcon 类的新实例

Signature:

constructor(iconType: string, block: Block, state: State);

参数

参数 类型 说明
iconType string 我们尝试反序列化的未注册图标的类型。
阻挡 屏蔽 我们尝试将未注册图标添加到的块。
state 状态 表示块的状态对象。