aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.html/-button/on-click.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.html/-button/on-click.html')
-rw-r--r--api/pl.treksoft.kvision.html/-button/on-click.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.html/-button/on-click.html b/api/pl.treksoft.kvision.html/-button/on-click.html
new file mode 100644
index 00000000..ca692506
--- /dev/null
+++ b/api/pl.treksoft.kvision.html/-button/on-click.html
@@ -0,0 +1,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>