carbon/build/static/groups.js

15 lines
337 B
JavaScript

import {q} from "./basic.js"
let state = "CLOSED"
const groups = q("#c-groups")
const rooms = q("#c-rooms")
groups.addEventListener("click", () => {
console.log("hello", groups)
groups.classList.add("c-groups__display--closed")
})
rooms.addEventListener("mouseout", () => {
groups.classList.remove("c-groups__display--closed")
})