AboutSupportDeveloper GuideVersion 36.122.80.23

Interface ShowTrayIconPopupMenuOptions<Data>

Options for showing a tray icon popup menu

Type Parameters

  • Data extends unknown = unknown

    User-defined shape for data returned upon menu item click. Should be a union of all possible data shapes for the entire menu, and the click handler should process these with a "reducer" pattern.

Hierarchy

  • ShowTrayIconPopupMenuOptions

Properties

Properties

template: MenuItemTemplate<Data>[]

An array describing the menu to show.