summaryrefslogtreecommitdiffstats
path: root/htdocs/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/index.html')
-rw-r--r--htdocs/index.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/htdocs/index.html b/htdocs/index.html
index ffefe20..5dac015 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -1,5 +1,7 @@
<html>
+<meta charset="utf-8" />
+
<head>
<title>Simple Helloworld binding Test</title>
<link rel="stylesheet" href="iotbzh-Binding.css">
@@ -15,12 +17,14 @@
<h1>Simple Helloworld binding Test</h1>
<button id="connected" onclick="init()">Binder WS Fail</button>
- <button id="mnitoring" onclick="window.open('/monitoring/monitor.html','_monitor_ctl')">Debug/Monitoring</a></button>
+ <button id="monitoring"
+ onclick="window.open('/monitoring/monitor.html','_monitor_ctl')">Debug/Monitoring</a></button>
<br><br>
<div>
- <button onclick="callbinder('helloworld','ping' ,{args:{'var1':1234, 'var2':'Test ping'}});">Send ping</button></li>
+ <button onclick="callbinder('helloworld','ping' ,{args:{'var1':1234, 'var2':'Test ping'}});">Send ping</button>
+ </li>
<button onclick="callbinder('helloworld','testargs' ,{'cezam': 'open'});">Send testargs OK</button></li>
@@ -32,6 +36,12 @@
</div>
<br>
+ <div>
+ <button onclick="callbinder('helloworld-event','startTimer' ,{});">Start
+ timer</button></li>
+ <button onclick="callbinder('helloworld-event','subscribe' ,);">Subscribe Event</button></li>
+ <button onclick="callbinder('helloworld-event','unsubscribe' ,);">Unsubscribe Event</button></li>
+ </div>
<div id="main" style="visibility:hidden">
<ol>
@@ -46,4 +56,4 @@
</li>
</ol>
</div>
-</body>
+</body> \ No newline at end of file