Interface for widgets that wish to
provide a context menu. They need to implement the
bindContextMenu method. This method is called once when the
context menu is initialized. Widgets should register the appropriate event listeners and call
to bring up the context menu.
Type of the widget that wishes to provide a context menu.
Callback that is invoked when the context menu is initialized. Lets the context menu provider register the appropriate event listeners for when the context menu should be shown and hidden.
The widget instance of the context menu.
The widget instance of the target widget that wants to add a context menu.
ID selector or DOM element of the target, i.e. the element the context menu belongs to.
The current configuration of the context menu.
Generated using TypeDoc