blockly >序列化 >例外情况 >UnregisteredIcon >(构造函数)
serialization.exceptions.UnregisteredIcon.(constructor)
构造 UnregisteredIcon
类的新实例
Signature:
constructor(iconType: string, block: Block, state: State);
参数
参数 | 类型 | 说明 |
---|---|---|
iconType | 字符串 | 我们要尝试反序列化的未注册图标的类型。 |
阻挡 | 屏蔽 | 我们要向其添加未注册的图标的块。 |
州 | 状态 | 表示块的状态对象。 |