Interface: IContextMenuItem

IContextMenuItem

Properties:
Name Type Argument Description
text string

The text or the key of i18n(shorthands of internationalization) configuration for contextmenu item.

iconCls string <optional>

Used to specify a css class for the icon element of contextmenu item.

cls string <optional>

Used to specify a css class for the element of contextmenu item, this is optional.

handler string | function

Used to specify a handler (it should be a function or the name of a controller) and that used to handle the click event of contextmenu item.