Menu class
A basic menu class.
Signature:
export declare class Menu
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)() | Constructs a new Menu instance. |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| openingCoords | Coordinate | null | Coordinates of the pointerdown event that caused this menu to open. Used to prevent the consequent pointerup event due to a simple click from activating a menu item immediately. |
Methods
| Method | Modifiers | Description |
|---|---|---|
| dispose() | Dispose of this menu. | |
| render(container) | Creates the menu DOM. |