MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / initializeKeyboardNavigation

Function initializeKeyboardNavigation

codeclash/viewer/static/js/picker.js:637–647  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

635
636// Keyboard Navigation Functions
637function initializeKeyboardNavigation() {
638 updateNavigableRows();
639
640 // Add keyboard event listener
641 document.addEventListener("keydown", handleKeyboardNavigation);
642
643 // Select first visible row by default
644 if (allNavigableRows.length > 0) {
645 setSelectedRow(0);
646 }
647}
648
649function updateNavigableRows() {
650 // Get all visible rows (both games and folders)

Callers 1

picker.jsFile · 0.85

Calls 2

updateNavigableRowsFunction · 0.85
setSelectedRowFunction · 0.85

Tested by

no test coverage detected