Desktop evaluateJavaScript is not work?
Opened this issue · 1 comments
liuhongjian0316 commented
val webViewNavigator = rememberWebViewNavigator()
val webViewState = rememberWebViewStateWithHTMLData(
data = MathHtmlContent
)
// not work
Button(onClick = {
webViewNavigator.evaluateJavaScript("callJS()", { msg ->
println(msg)
})
}) {
Text("Btn")
}
liuhongjian0316 commented
use webViewState.nativeWebView.evaluateJavaScript('****')
success