getMenuEntry
getMenuEntry: (MenuEntryAdded) -> MenuEntryThe entry the client added, live. From a legacy delivery (a build without the menu sites), a detached, read-only entry with the event's fields.
| Method | Returns | Description |
|---|---|---|
getMenuEntry() | MenuEntry | The entry the client added, live. From a legacy delivery (a build without the menu sites), a detached, read-only entry with the event's fie… |
getOption() | string | The entry's option text. |
getTarget() | string | The entry's target text. |
getType() | number | The entry's MenuAction id (getMenuEntry():getType():getId()). |
getIdentifier() | number | The entry's identifier. |
getActionParam0() | number | The entry's first parameter. |
getActionParam1() | number | The entry's second parameter. |
getItemId() | number | The entry's item id. |
| Field | Type | Description |
|---|---|---|
__eventClass | string | "MenuEntryAdded": the class's name, which host APIs that take the class itself read. |
getMenuEntrygetMenuEntry: (MenuEntryAdded) -> MenuEntryThe entry the client added, live. From a legacy delivery (a build without the menu sites), a detached, read-only entry with the event's fields.
getOptiongetOption: (MenuEntryAdded) -> stringThe entry's option text.
getTargetgetTarget: (MenuEntryAdded) -> stringThe entry's target text.
getTypegetType: (MenuEntryAdded) -> numberThe entry's MenuAction id (getMenuEntry():getType():getId()).
getIdentifiergetIdentifier: (MenuEntryAdded) -> numberThe entry's identifier.
getActionParam0getActionParam0: (MenuEntryAdded) -> numberThe entry's first parameter.
getActionParam1getActionParam1: (MenuEntryAdded) -> numberThe entry's second parameter.
getItemIdgetItemId: (MenuEntryAdded) -> numberThe entry's item id.