Construct a new widget.
The element that had focus when a menu rendered by this widget was activated.
Flag indicating whether a context menu is open. While a context menu is open, the preservedContext
should not be cleared.
Render the React widget in the DOM.
The menu widget placed on the top of the sidebar.