website/ts/burgerMenu.ts

5 lines
207 B
TypeScript
Raw Normal View History

2021-01-20 22:20:10 +01:00
function handleBurger(){
(<HTMLElement> document.getElementById("burgerMenu")).classList.toggle("change");
(<HTMLElement> document.getElementById("mainMenuContainer")).classList.toggle("visible");
}