sendToHost

abstract fun sendToHost(channel: String, vararg args: Any?)(source)

Like ipcRenderer.send but the event will be sent to the <webview> element in the host page instead of the main process.