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