mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-05 03:21:40 +00:00
Icons
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
let ws = new WebSocket("ws://localhost:8888/websocket");
|
||||
ws.onopen = function () {
|
||||
ws.send("hello");
|
||||
}
|
||||
ws.onmessage = function (ev) {
|
||||
alert(ev.data);
|
||||
}
|
||||
// ws.onopen = function () {
|
||||
// ws.send("hello");
|
||||
// }
|
||||
// ws.onmessage = function (ev) {
|
||||
// alert(ev.data);
|
||||
// }
|
||||
|
||||
// function changeTab(index) {
|
||||
// arr = document.getElementsByClassName("tab");
|
||||
|
||||
// for (let element of arr) {
|
||||
// element.style.display = "none";
|
||||
// }
|
||||
|
||||
// document.getElementById(index).style.display = "block";
|
||||
// }
|
||||
Reference in New Issue
Block a user