Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > IContextMenu > showContextMenu
Tampilkan menu konteks untuk objek ini.
Tanda Tangan:
showContextMenu(e: Event): void;
Parameter
Parameter |
Jenis |
Deskripsi |
e |
Acara |
Peristiwa mouse. |
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-09-12 UTC.
[null,null,["Terakhir diperbarui pada 2024-09-12 UTC."],[[["The `showContextMenu` method displays the context menu associated with a specific object."],["It is triggered by a mouse event (`e`) provided as an argument."],["This method does not return any value (`void`)."],["This method belongs to the `IContextMenu` interface within the Blockly library."]]],[]]