blockly > BlockSvg > generateContextMenu
השיטה BlockSvg.generateContextMenu()
יצירת תפריט ההקשר של הבלוק הזה.
Signature:
protected generateContextMenu(e: Event): Array<ContextMenuOption | LegacyContextMenuOption> | null;
פרמטרים
| פרמטר | סוג | תיאור |
|---|---|---|
| e | אירוע |
החזרים:
Array<ContextMenuOption | LegacyContextMenuOption> | null
האפשרויות בתפריט ההקשר, או null אם אין תפריט.