summaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.electron/-web-frame/execute-java-script-in-isolated-world.html
blob: 73b555b5682f1eadfc0e2391b232e59a168de08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>WebFrame.executeJavaScriptInIsolatedWorld - 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">WebFrame</a>&nbsp;/&nbsp;<a href="./execute-java-script-in-isolated-world.html">executeJavaScriptInIsolatedWorld</a><br/>
<br/>
<h1>executeJavaScriptInIsolatedWorld</h1>
<a name="pl.treksoft.kvision.electron.WebFrame$executeJavaScriptInIsolatedWorld(kotlin.Number, kotlin.Array((pl.treksoft.kvision.electron.WebSource)), kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))"></a>
<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">executeJavaScriptInIsolatedWorld</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebFrame$executeJavaScriptInIsolatedWorld(kotlin.Number, kotlin.Array((pl.treksoft.kvision.electron.WebSource)), kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))/worldId">worldId</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="identifier" id="pl.treksoft.kvision.electron.WebFrame$executeJavaScriptInIsolatedWorld(kotlin.Number, kotlin.Array((pl.treksoft.kvision.electron.WebSource)), kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))/scripts">scripts</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="../-web-source/index.html"><span class="identifier">WebSource</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebFrame$executeJavaScriptInIsolatedWorld(kotlin.Number, kotlin.Array((pl.treksoft.kvision.electron.WebSource)), kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))/userGesture">userGesture</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">=</span>&nbsp;definedExternally<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.WebFrame$executeJavaScriptInIsolatedWorld(kotlin.Number, kotlin.Array((pl.treksoft.kvision.electron.WebSource)), kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">(</span><span class="identifier">result</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>&nbsp;<span class="symbol">=</span>&nbsp;definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
</BODY>
</HTML>