popup

fun popup(at: PhysicalPosition = definedExternally, window: Window = definedExternally): Promise<Void>(source)
fun popup(at: LogicalPosition = definedExternally, window: Window = definedExternally): Promise<Void>(source)

Popup this submenu as a context menu on the specified window.

If the position, is provided, it is relative to the window's top-left corner.