feat(light-js): add labels

This commit is contained in:
fryorcraken.eth 2022-09-20 09:56:00 +10:00
parent 2ea1df193c
commit 4196196d0b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 5 additions and 3 deletions

View File

@ -18,16 +18,18 @@
<div><h2>Remote Peer Id</h2></div>
<div id='remote-peer-id'></div>
<label for='remote-multiaddr'>Remote peer's multiaddr</label>
<input id='remote-multiaddr'
type='text'
value="/dns4/node-01.ac-cn-hongkong-c.wakuv2.test.statusim.net/tcp/443/wss/p2p/16Uiu2HAkvWiyFsgRhuJEb9JfjYxEkoHLgnUQmr1N5mKWnYjxYRVm">
<button id='dial' type='button'>Dial</button>
<br/>
<button id='subscribe' type='button'>Subscribe</button>
<button id='unsubscribe' type='button'>Unsubscribe</button>
<button id='subscribe' type='button'>Subscribe with Filter</button>
<button id='unsubscribe' type='button'>Unsubscribe with Filter</button>
<br/>
<label for='textInput'>Message text</label>
<input id='textInput' placeholder='Type your message here' type='text'>
<button id='sendButton' type='button'>Send Message</button>
<button id='sendButton' type='button'>Send message using Light Push</button>
<br/>
<div id="messages"></div>