skrypton-api / com.waicool20.skrypton.jni.objects / SKryptonWebView / runJavaScript

runJavaScript

fun runJavaScript(content: String, callback: () -> Unit = {}): Unit

Runs JavaScript content on this web view.

Parameters

content - JavaScript code to run.

callback - Executed when the given JavaScript code is done executing.