openMenu()
Description
Opens the menu of a task/project at the specified coordinates
Usage
openMenu({
id: string | number,
type?: "task" | "user" | "project",
coords: { x: number, y: number }
}): void;
Parameters
id- (required) the ID of a task/projecttype- (optional) the type of a menu. There are three types of menu:task(by default) - the task menuuser- the user menuproject- the project menu
coords- (required) an object with the x and y coordinates of the menu:x- (required) the value of the x coordinatey- (required) the value of the y coordinate