website/ts/burgerMenu.ts

5 lines
No EOL
207 B
TypeScript

function handleBurger(){
(<HTMLElement> document.getElementById("burgerMenu")).classList.toggle("change");
(<HTMLElement> document.getElementById("mainMenuContainer")).classList.toggle("visible");
}