summaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.html/-button/on-click.html
blob: ca692506f8c4280fe9a02665a1fbdf9de4908453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Button.onClick - 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.html</a>&nbsp;/&nbsp;<a href="index.html">Button</a>&nbsp;/&nbsp;<a href="./on-click.html">onClick</a><br/>
<br/>
<h1>onClick</h1>
<a name="pl.treksoft.kvision.html.Button$onClick(kotlin.Function2((pl.treksoft.kvision.html.Button, org.w3c.dom.events.MouseEvent, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">onClick</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html.Button$onClick(kotlin.Function2((pl.treksoft.kvision.html.Button, org.w3c.dom.events.MouseEvent, kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">Button</span></a><span class="symbol">.</span><span class="symbol">(</span><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>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Button</span></a></code>
<p>A convenient helper for easy setting onClick event handler.</p>
</BODY>
</HTML>