aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html
blob: ded70c2c1c7c38fb6db319dcb05752ca4e60949c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ContextMenu.positionMenu - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.dropdown</a>&nbsp;/&nbsp;<a href="index.html">ContextMenu</a>&nbsp;/&nbsp;<a href="./position-menu.html">positionMenu</a><br/>
<br/>
<h1>positionMenu</h1>
<a name="pl.treksoft.kvision.dropdown.ContextMenu$positionMenu(org.w3c.dom.events.MouseEvent)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">positionMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown.ContextMenu$positionMenu(org.w3c.dom.events.MouseEvent)/mouseEvent">mouseEvent</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-mouse-event/index.html"><span class="identifier">MouseEvent</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ContextMenu</span></a></code>
<p>Positions and shows a context menu based on a mouse event.</p>
<h3>Parameters</h3>
<p><a name="mouseEvent"></a>
<code>mouseEvent</code> - mouse event</p>
<p><strong>Return</strong><br/>
current context menu</p>
</BODY>
</HTML>