8 <textarea rows=
"10" cols=
"100" id=
"output"></textarea>
10 <button type=
"button" onclick=
"App.onClick()" id=
"button" disabled=
"true">SendEvent
</button>
13 <script type=
"text/javascript" src=
"mono-config.js"></script>
14 <script type='text/javascript'
>
16 onClick: function () {
17 this.output
.value
= "...";
18 var res
= this.int_add (10, 20);
19 this.output
.value
= "res is " + res
;
23 this.int_add
= Module
.mono_bind_static_method ("[sample] Math:IntAdd");
24 this.output
= document
.getElementById ("output");
25 this.button
= document
.getElementById ("button");
27 this.button
.disabled
= false;
28 console
.log ("ready");
32 <script type=
"text/javascript" src=
"runtime.js"></script>
33 <script async
type=
"text/javascript" src=
"mono.js"></script>