Skip to main content

click-menu-item

Description

Fires when the user clicks on the item of the menu

Usage

"click-menu-item": ({
id: string | number,
action: string,
extra?: string
}) => void;

Parameters

The callback of the click-menu-item event can take an object with the following parameters:

  • id - (required) the id of a task
  • action - (required) the ID of a clicked menu item
  • extra - (optional) the ID of a clicked submenu item