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'
>
15 onClick: function () {
16 this.output
.value
= "...";
17 var res
= this.int_add (10, 20);
18 this.output
.value
= "res is " + res
;
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");
31 <script type=
"text/javascript" src=
"runtime.js"></script>
32 <script async
type=
"text/javascript" src=
"mono.js"></script>