size

expect fun size(    width: Int,     height: Int,     hints: WebviewKo.WindowHint = WindowHint.None)

Updates the size of the native window.

Accepts a WEBVIEW_HINT

Parameters

hints

can be one of WEBVIEW_HINT_NONE, WEBVIEW_HINT_MIN, WEBVIEW_HINT_MAX or WEBVIEW_HINT_FIXED

actual fun size(    width: Int,     height: Int,     hints: WebviewKo.WindowHint)

Updates the size of the native window.

Accepts a WEBVIEW_HINT

Parameters

hints

can be one of WEBVIEW_HINT_NONE, WEBVIEW_HINT_MIN, WEBVIEW_HINT_MAX or WEBVIEW_HINT_FIXED

actual fun size(    width: Int,     height: Int,     hints: WebviewKo.WindowHint)

Updates the size of the native window.

Accepts a WEBVIEW_HINT

Parameters

hints

can be one of WEBVIEW_HINT_NONE, WEBVIEW_HINT_MIN, WEBVIEW_HINT_MAX or WEBVIEW_HINT_FIXED