skrypton-api / com.waicool20.skrypton.jni.objects / webView

webView

fun SKryptonApp.webView(url: String, action: SKryptonWebView.() -> Unit = {}): SKryptonWebView

Creates a SKryptonWebView under this SKryptonApp instance.

Parameters

url - URL string to load initially.

action - Lambda function with created web view as its receiver.

Receiver
SKryptonApp

Return
The created SKryptonWebView