blockly > Peristiwa > 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
(konstruktor)(opt_oldItem, opt_newItem, opt_workspaceId) Membuat instance baru dari class ToolboxItemSelect

Properti

Properti Pengubah Jenis Deskripsi
newItem? string (Opsional) Item toolbox yang baru dipilih.
oldItem? string (Opsional) Item toolbox yang dipilih sebelumnya.
jenis string

Metode

Metode Pengubah Deskripsi
toJson() Mengenkode peristiwa sebagai JSON.