An options object for initializing a context menu.
The command registry to use with the context menu.
Optional
Whether to group items following the DOM hierarchy.
Default true.
If true, when the mouse event occurs on element span within div.top, the items matching div.top will be shown before the ones matching body.
span
div.top
body
A custom renderer for use with the context menu.
Whether to sort by selector and rank or only rank.
An options object for initializing a context menu.