blockly‏ > ContextMenuRegistry‏ > ActionContextMenuOption

ממשק ContextMenuRegistry.ActionContextMenuOption

ייצוג של פריט תפריט רגיל שאפשר ללחוץ עליו בקובץ contextmenu.ts.

Signature:

export interface ActionContextMenuOption extends CoreContextMenuOption 

הרחבה של: CoreContextMenuOption

מאפיינים

נכס גורמי שינוי סוג תיאור
callback (scope: היקף, menuOpenEvent: אירוע, menuSelectEvent: אירוע, location: Coordinate) => void
מופעל בוליאני
separator? אף פעם (אופציונלי)
text string | HTMLElement