blockly > 事件 > ToolboxItemSelect

Events.ToolboxItemSelect 类

通知监听器您已选择工具箱项。

Signature:

export declare class ToolboxItemSelect extends UiBase 

扩展UiBase

构造函数

构造函数 修饰符 说明
(constructor)(opt_oldItem, opt_newItem, opt_workspaceId) 构造 ToolboxItemSelect 类的新实例

属性

媒体资源 修饰符 类型 说明
newItem? string (可选)新选择的工具箱项。
oldItem string (可选)之前选择的工具箱项。
type string

方法

方法 修饰符 说明
toJson() 将事件编码为 JSON。