summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-web-contents/on.html
blob: fa670a974a5ca8d0c62147873070c18b60d95e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>WebContents.on - 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.electron</a>&nbsp;/&nbsp;<a href="index.html">WebContents</a>&nbsp;/&nbsp;<a href="./on.html">on</a><br/>
<br/>
<h1>on</h1>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Input, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Input, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Input, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">input</span><span class="symbol">:</span>&nbsp;<a href="../-input/index.html"><span class="identifier">Input</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function5((pl.treksoft.kvision.electron.Event, kotlin.String, , pl.treksoft.kvision.electron.Certificate, kotlin.Function1((kotlin.Boolean, kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function5((pl.treksoft.kvision.electron.Event, kotlin.String, , pl.treksoft.kvision.electron.Certificate, kotlin.Function1((kotlin.Boolean, kotlin.Unit)), )))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function5((pl.treksoft.kvision.electron.Event, kotlin.String, , pl.treksoft.kvision.electron.Certificate, kotlin.Function1((kotlin.Boolean, kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">error</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">certificate</span><span class="symbol">:</span>&nbsp;<a href="../-certificate/index.html"><span class="identifier">Certificate</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">isTrusted</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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>&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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((kotlin.Number, kotlin.String, , , kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((kotlin.Number, kotlin.String, , , kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((kotlin.Number, kotlin.String, , , kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">level</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">message</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">line</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">sourceId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.ContextMenuParams, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.ContextMenuParams, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.ContextMenuParams, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">params</span><span class="symbol">:</span>&nbsp;<a href="../-context-menu-params/index.html"><span class="identifier">ContextMenuParams</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">killed</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function6((pl.treksoft.kvision.electron.Event, kotlin.String, pl.treksoft.kvision.electron.NativeImage, kotlin.Number, pl.treksoft.kvision.electron.Size, pl.treksoft.kvision.electron.Point, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function6((pl.treksoft.kvision.electron.Event, kotlin.String, pl.treksoft.kvision.electron.NativeImage, kotlin.Number, pl.treksoft.kvision.electron.Size, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function6((pl.treksoft.kvision.electron.Event, kotlin.String, pl.treksoft.kvision.electron.NativeImage, kotlin.Number, pl.treksoft.kvision.electron.Size, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">type</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">image</span><span class="symbol">:</span>&nbsp;<a href="../-native-image/index.html"><span class="identifier">NativeImage</span></a><span class="symbol">?</span><span class="symbol">,</span>&nbsp;<span class="identifier">scale</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">?</span><span class="symbol">,</span>&nbsp;<span class="identifier">size</span><span class="symbol">:</span>&nbsp;<a href="../-size/index.html"><span class="identifier">Size</span></a><span class="symbol">?</span><span class="symbol">,</span>&nbsp;<span class="identifier">hotspot</span><span class="symbol">:</span>&nbsp;<a href="../-point/index.html"><span class="identifier">Point</span></a><span class="symbol">?</span><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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.WebContents, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.WebContents, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.WebContents, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">webContents</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">WebContents</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">color</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function5((pl.treksoft.kvision.electron.Event, kotlin.Number, kotlin.String, , kotlin.Boolean, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function5((pl.treksoft.kvision.electron.Event, kotlin.Number, kotlin.String, , kotlin.Boolean, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function5((pl.treksoft.kvision.electron.Event, kotlin.Number, kotlin.String, , kotlin.Boolean, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">errorCode</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">errorDescription</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">validatedURL</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">isMainFrame</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">isMainFrame</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function8((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Boolean, kotlin.Number, , , kotlin.Any, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function8((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Boolean, kotlin.Number, , , kotlin.Any, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function8((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Boolean, kotlin.Number, , , kotlin.Any, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">oldURL</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">newURL</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">isMainFrame</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">httpResponseCode</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">requestMethod</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">referrer</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">headers</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function9((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.String, , kotlin.Number, , , kotlin.Any, , kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function9((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.String, , kotlin.Number, , , kotlin.Any, , kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function9((pl.treksoft.kvision.electron.Event, kotlin.Boolean, kotlin.String, , kotlin.Number, , , kotlin.Any, , kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">status</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">newURL</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">originalURL</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">httpResponseCode</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">requestMethod</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">referrer</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">headers</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">resourceType</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Boolean, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Boolean, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Boolean, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">isMainFrame</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.Event, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.Event, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.Event, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Result, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Result, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Result, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">result</span><span class="symbol">:</span>&nbsp;<a href="../-result/index.html"><span class="identifier">Result</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Request, pl.treksoft.kvision.electron.AuthInfo, kotlin.Function2((kotlin.String, , kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Request, pl.treksoft.kvision.electron.AuthInfo, kotlin.Function2((kotlin.String, , kotlin.Unit)), )))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Request, pl.treksoft.kvision.electron.AuthInfo, kotlin.Function2((kotlin.String, , kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">request</span><span class="symbol">:</span>&nbsp;<a href="../-request/index.html"><span class="identifier">Request</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">authInfo</span><span class="symbol">:</span>&nbsp;<a href="../-auth-info/index.html"><span class="identifier">AuthInfo</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">username</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">password</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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>&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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">WebContents</span></a></code>
<p>Overrides <a href="../-event-emitter/on.html">EventEmitter.on</a></p>
<br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function6((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Any, kotlin.Any, kotlin.Array(()), kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function6((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Any, kotlin.Any, kotlin.Array(()), kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function6((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Any, kotlin.Any, kotlin.Array(()), kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">frameName</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="keyword">dynamic</span><span class="symbol">,</span>&nbsp;<span class="identifier">options</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">additionalFeatures</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Array((kotlin.String)), kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Array((kotlin.String)), kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Array((kotlin.String)), kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">favicons</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span><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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, pl.treksoft.kvision.electron.NativeImage, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">dirtyRect</span><span class="symbol">:</span>&nbsp;<a href="../-rectangle/index.html"><span class="identifier">Rectangle</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">image</span><span class="symbol">:</span>&nbsp;<a href="../-native-image/index.html"><span class="identifier">NativeImage</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.String, , kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">name</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">version</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.Array((pl.treksoft.kvision.electron.BluetoothDevice)), kotlin.Function1((kotlin.String, kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.Array((pl.treksoft.kvision.electron.BluetoothDevice)), kotlin.Function1((kotlin.String, kotlin.Unit)), )))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.Array((pl.treksoft.kvision.electron.BluetoothDevice)), kotlin.Function1((kotlin.String, kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">devices</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../-bluetooth-device/index.html"><span class="identifier">BluetoothDevice</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">deviceId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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>&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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Array((pl.treksoft.kvision.electron.Certificate)), kotlin.Function1((, kotlin.Unit)), )))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Array((pl.treksoft.kvision.electron.Certificate)), kotlin.Function1((, kotlin.Unit)), )))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function4((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Array((pl.treksoft.kvision.electron.Certificate)), kotlin.Function1((, kotlin.Unit)), )))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">certificateList</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../-certificate/index.html"><span class="identifier">Certificate</span></a><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">certificate</span><span class="symbol">:</span>&nbsp;<a href="../-certificate/index.html"><span class="identifier">Certificate</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>&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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.Any, , kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.Any, , kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, kotlin.Any, , kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">webPreferences</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">params</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span>&nbsp;<span class="identifier">url</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</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">WebContents</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.Event, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.Event, kotlin.Unit)))/event">event</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$on(kotlin.String, kotlin.Function1((pl.treksoft.kvision.electron.Event, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span>&nbsp;<a href="../-event/index.html"><span class="identifier">Event</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">WebContents</span></a></code>
</BODY>
</HTML>