UNPKG

showcar-ui

Version:

Showcar-ui is the pattern library that is used to build the frontend of AutoScout24. It provides CSS classes, custom elements and components.

10 lines (9 loc) 238 B
export default () => { document.addEventListener('keydown', e => { const keyCode = e.which; if(keyCode === 9) { // TAB document.body.classList.add('sc-focus-visible-only'); } }); };