The command registry to use with the context menu.
Optional
groupWhether 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
.
Optional
rendererA custom renderer for use with the context menu.
Optional
sortWhether to sort by selector and rank or only rank.
Default true.
An options object for initializing a context menu.