blockly > Events > ToolboxItemSelect
Class Events.ToolboxItemSelect
Memberi tahu pemroses bahwa item toolbox telah dipilih.
Tanda Tangan:
export declare class ToolboxItemSelect extends UiBase
Memperluas: UiBase
Konstruktor
| Konstruktor | Pengubah | Deskripsi |
|---|---|---|
| (constructor)(opt_oldItem, opt_newItem, opt_workspaceId) | Membuat instance baru class ToolboxItemSelect |
Properti
| Properti | Pengubah | Jenis | Deskripsi |
|---|---|---|---|
| newItem? | string | (Opsional) Item toolbox yang baru dipilih. | |
| oldItem? | string | (Opsional) Item toolbox yang dipilih sebelumnya. | |
| jenis | EventType |
Metode
| Metode | Pengubah | Deskripsi |
|---|---|---|
| toJson() | Enkode peristiwa sebagai JSON. |