definition of a context menu entry

Hierarchy

  • IContextMenuEntry

Index

Properties

handler

handler: function

callback function to execute when user clicked on the entry

Type declaration

    • (event: MouseEvent | TouchEvent): void
    • Parameters

      • event: MouseEvent | TouchEvent

      Returns void

Optional icon

icon of the menu entry

Optional level

level: TUserRole

the permission level that the user needs

text

text: function | string

name of the entry, is displayed as text of the entry

Optional tooltip

tooltip: function | string

text of the tooltip to display