mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
27 lines
578 B
JavaScript
27 lines
578 B
JavaScript
// let ws = new WebSocket("ws://localhost:8888/websocket");
|
|
// 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";
|
|
// }
|
|
|
|
let inputTab = new Vue({
|
|
el: "#input-tab",
|
|
data: {
|
|
sliders: [
|
|
{ value: 25 },
|
|
{ value: 30 }
|
|
]
|
|
}
|
|
}) |