blockly > 事件 > ToolboxItemSelect

Events.ToolboxItemSelect 類別

通知監聽器已選取工具箱項目。

Signature:

export declare class ToolboxItemSelect extends UiBase 

擴充: UiBase

建構函式

建構函式 修飾符 說明
(constructor)(opt_oldItem, opt_newItem, opt_workspaceId) 建構 ToolboxItemSelect 類別的新例項

屬性

屬性 修飾符 類型 說明
newItem? 字串 (選用) 新選取的工具箱項目。
oldItem? 字串 (選用) 先前選取的工具箱項目。
type EventType

方法

方法 修飾符 說明
toJson() 將事件編碼為 JSON。