MenuEntryAdded

Methods
8
Fields
1

Methods

MethodReturnsDescription
getMenuEntry()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 fie…
getOption()stringThe entry's option text.
getTarget()stringThe entry's target text.
getType()numberThe entry's MenuAction id (getMenuEntry():getType():getId()).
getIdentifier()numberThe entry's identifier.
getActionParam0()numberThe entry's first parameter.
getActionParam1()numberThe entry's second parameter.
getItemId()numberThe entry's item id.

Fields

FieldTypeDescription
__eventClassstring"MenuEntryAdded": the class's name, which host APIs that take the class itself read.

Method details

getMenuEntry

getMenuEntry: (MenuEntryAdded) -> 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 fields.