aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.dropdown/-context-menu/position-menu.html
blob: 147541ea9aa277ad1f0d3712b676a533e13d8d66 (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>
(js) <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>