Webview Ko
The Kotlin Multiplatform binding to webview
The Kotlin/JS binding to webview
The Kotlin/JVM binding to webview
Parameters
enable debug mode for webview
The lib's path. Not supported in Kotlin/Native
enable debug mode for webview
The lib's path.
enable debug mode for webview
The lib's path.
enable debug mode for webview
not supported in Kotlin/Native
Constructors
create a webview or throws Exception
if failed
create a webview or throws Exception
if failed
Types
Should be used in bind to throw an exception in JS
Should be used in bind to throw an exception in JS
Should be used in bind to throw an exception in JS
Should be used in bind to throw an exception in JS
The window size hints used by WebviewKo.size
The window size hints used by WebviewKo.size
The window size hints used by WebviewKo.size
Functions
Binds a Kotlin callback so that it will appear under the given name as a global JS function.
Binds a Kotlin callback so that it will appear under the given name as a global JS function.
Binds a Kotlin callback so that it will appear under the given name as a global JS function.
Destroy the webview and close the native window.
Destroy the webview and close the native window.
Destroy the webview and close the native window.
Destroy the webview and close the native window.
Posts a function to be executed on the main thread.
Posts a function to be executed on the main thread.
Posts a function to be executed on the main thread.
Return the Pointer of the webview.
Return the C Pointer of the webview.
Injects JS code at the initialization of the new page.
Injects JS code at the initialization of the new page.
Injects JS code at the initialization of the new page.
Runs the main loop until it's terminated and destroy the webview after that.
Runs the main loop until it's terminated and destroy the webview after that.
Runs the main loop until it's terminated and destroy the webview after that.
Runs the main loop until it's terminated and destroy the webview after that.
Updates the size of the native window.
Updates the size of the native window.
Updates the size of the native window.
Updates the size of the native window.
Runs the main loop until it's terminated. After this function exits - you must destroy the webview.
Runs the main loop until it's terminated. After this function exits - you must destroy the webview.
Runs the main loop until it's terminated. After this function exits - you must destroy the webview.
Runs the main loop until it's terminated. After this function exits - you must destroy the webview.
Stops the main loop.
Runs the main loop until it's terminated. After this function exits - you must destroy the webview.
Stops the main loop.
Stops the main loop.
Removes a callback that was previously set by webview_bind
.
Removes a callback that was previously set by webview_bind
.
Removes a callback that was previously set by webview_bind
.