Shows a context menu with the specified items
. The context menu closes when the user clicks one of the
items or outside the context menu.
The horizontal pixel coordinate where to show the context menu.
The vertical pixel coordinate where to show the context menu.
Defines the content of the context menu.
A Promise that, when resolved, provides the ContextMenuItem that was clicked by the user,
or undefined
if the user clicked outside the context menu.
Represents an object with methods to show a context menu.