spatnav container 1(Document) > spatnav container 2 > spatnav container 3

    
      const redContainer = document.getElementsByClassName("container c1")[0];
      redContainer.addEventListener('keydown', function(e) {
        const dir = WASD_KEY_CODE[e.keyCode];
        if(window.navigate && dir) {
          window.navigate(dir);
          e.preventDefault();
        }
      }, true);