home.js 243 B

12345678910
  1. require('../app');
  2. // event for hamburger-toggle
  3. document.addEventListener('click',function(e){
  4. // Hamburger menu
  5. if(e.target.classList.contains('hamburger-toggle')){
  6. e.target.children[0].classList.toggle('active');
  7. }
  8. })