Replies: 1 comment
-
On the test site, everything works correctly.
So the problem is solely in your code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a simple html:
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
</head>
<body>
<div id="tvchart"></div>
</body>
<script src="https://unpkg.com/lightweight-charts/dist/lightweight-charts.standalone.production.js"></script>
<script type="text/javascript" src="IndexWithMarkers6.js"></script>
<script>
function updateData(data) {
console.log(data);
}
</script>
</html>
I call the
updateData
in .NET:await webView.CoreWebView2.ExecuteScriptAsync("updateData('yyy')");
, but the call is failed. How to do to call the function updateData?Beta Was this translation helpful? Give feedback.
All reactions