MenuElement
A base class that implements the common functionality for all menu elements.
Properties
type
readonly type: MenuElementType;
The type of the menu element.
Methods
constructor()
constructor(type: MenuElementType): void;
Creates a new menu element.
| Parameter | Type | Description |
|---|---|---|
type | MenuElementType | The type of the menu element. |