blockly > BlockSvg > generateContextMenu
Bu blok için içerik menüsünü oluşturun.
İmza:
protected generateContextMenu(): Array<ContextMenuOption | LegacyContextMenuOption> | null;
Şunu döndürür:
Array<ContextMenüOption | LegacyContextMenuOption> | boş
İçerik menüsü seçenekleri veya menü yoksa null.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-12 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["The `generateContextMenu()` method is used to create a context menu specifically for a BlockSvg object within Blockly."],["This method returns an array of options for the context menu, which can either be of type ContextMenuOption or LegacyContextMenuOption, or it can return null if no menu is to be displayed."],["The method is protected and is intended for internal use within the Blockly library or for developers extending its functionality."]]],[]]