Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > Toolbox > addToolboxItem_
Menambahkan item ke toolbox.
Tanda Tangan:
protected addToolboxItem_(toolboxItem: IToolboxItem): void;
Parameter
Parameter |
Jenis |
Deskripsi |
toolboxItem |
IToolboxItem |
Item di kotak peralatan. |
Hasil:
void
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-08-21 UTC.
[null,null,["Terakhir diperbarui pada 2024-08-21 UTC."],[[["The `addToolboxItem_` method is used to add items to the Blockly toolbox."],["It's a protected method that takes an `IToolboxItem` as input, representing the item to be added."],["The method has no return value and modifies the toolbox directly by adding the specified item."]]],[]]