Skip to content

OpenMenu beta ​

Interface of @v12-engine/client

ts
export interface OpenMenu

A menu that is open: where it is, how it is placed and its lines

Members ​

at ​

ts
at: Element | {
        x: number;
        y: number;
    };

Where: by an element, or at a point of the screen

id ​

ts
id: number;

Unique id of the open menu

items ​

ts
items: MenuItem[];

The menu's lines, top to bottom

placement ​

ts
placement: TipPlacement;

Where the menu sits by the element or point it is opened at