Represents a custom context menu that can be created and managed dynamically.
The HTML element representing the context menu.
Indicates whether the context menu has been initialized.
Creates a custom context menu with specified items and options.
An object containing menu item labels and corresponding callback functions.
The horizontal position of the context menu.
The vertical position of the context menu.
Indicates whether the context menu should be displayed immediately.
Indicates whether the context menu should be removed after an item is selected.
The HTML element representing the created context menu.
Removes the context menu from the DOM.
Initializes the context menu by adding event listeners. This method should be called before creating a context menu.
Generated using TypeDoc