Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
2.98k
stars
280
forks
source link
How to mount a JS object on a window object via c# code? #332
Closed
2505817596 closed 3 years ago
How to mount a JS object on a window object via c# code?
For example
//c# eng.Execute("window.name = "test"");
Expected
<script>alert(window.myXXXX); //test</script>