[corlib] Import FileSystemInfo and family from CoreFX (#11342)
[mono-project.git] / sdks / wasm / debug.html
blob81eb986d0a6b9070fcdd61fc6c0b141a0accacfe
1 <!doctype html>
2 <html lang="en-us">
3 <head>
4 </head>
5 <body>
6 C# output:
7 <br>
8 <textarea rows="10" cols="100" id="output"></textarea>
9 <br>
10 <button type="button" onclick="App.onClick()" id="button" disabled="true">SendEvent</button>
11 <br>
13 <script type='text/javascript'>
14 var App = {
15 onClick: function () {
16 this.output.value = "...";
17 var res = this.int_add (10, 20);
18 this.output.value = "res is " + res;
21 init: function () {
22 this.int_add = Module.mono_bind_static_method ("[sample] Math:IntAdd");
23 this.output = document.getElementById ("output");
24 this.button = document.getElementById ("button");
26 this.button.disabled = false;
27 console.log ("ready");
30 </script>
31 <script type="text/javascript" src="runtime.js"></script>
32 <script async type="text/javascript" src="mono.js"></script>
33 </body>
34 </html>