click-menu-item
Description
Fires when the user clicks on the item of the menu
Usage
"click-menu-item": ({
id: string | number,
type: "task" | "user" | "toolbar",
action: string,
params?: any
}) => void;
Parameters
The callback of the click-menu-item event can take an object with the following parameters:
id- (required) the id of a tasktype- (required) the type of a menuaction- (required) the ID of a clicked menu itemparams- (optional) additional data of the clicked menu item