connectScriptMessageReceived
fun connectScriptMessageReceived(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>
This signal is emitted when JavaScript in a web view calls window.webkit.messageHandlers.
, after registering
using webkit_user_content_manager_register_script_message_handler()
Since
2.8
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: value
the value received from the JavaScript world.