Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > IToolbox > selectItemByPosition
Memilih item toolbox berdasarkan posisinya dalam daftar item toolbox.
Tanda Tangan:
selectItemByPosition(position: number): void;
Parameter
Parameter |
Jenis |
Deskripsi |
position |
angka |
Posisi item yang akan dipilih. |
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-10-15 UTC.
[null,null,["Terakhir diperbarui pada 2024-10-15 UTC."],[[["The `selectItemByPosition()` method selects an item within the toolbox based on its position in the list."],["It takes one parameter: `position`, which is a number representing the position of the item to be selected."],["Calling this method does not return any value (void)."]]],[]]