summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.electron/-web-contents/execute-java-script.html
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.electron/-web-contents/execute-java-script.html')
-rw-r--r--api/pl.treksoft.kvision.electron/-web-contents/execute-java-script.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.electron/-web-contents/execute-java-script.html b/api/pl.treksoft.kvision.electron/-web-contents/execute-java-script.html
new file mode 100644
index 00000000..a28dcf06
--- /dev/null
+++ b/api/pl.treksoft.kvision.electron/-web-contents/execute-java-script.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>WebContents.executeJavaScript - 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="./execute-java-script.html">executeJavaScript</a><br/>
+<br/>
+<h1>executeJavaScript</h1>
+<a name="pl.treksoft.kvision.electron.WebContents$executeJavaScript(kotlin.String, kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))"></a>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">executeJavaScript</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.WebContents$executeJavaScript(kotlin.String, kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))/code">code</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$executeJavaScript(kotlin.String, 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.WebContents$executeJavaScript(kotlin.String, kotlin.Boolean, kotlin.Function1((kotlin.Any, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span>&nbsp;<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>&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.js/-promise/index.html"><span class="identifier">Promise</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span></code>
+</BODY>
+</HTML>