Loading core/modules/navigation/js/arrow-navigation.js +13 −0 Original line number Diff line number Diff line /** * @file * Keyboard navigation component. */ ((Drupal, once, { focusable }) => { /** * Attaches the keyboard navigation functionality. * * @type {Drupal~behavior} * * @prop {Drupal~behaviorAttach} attach * Attaches the behavior to the `.admin-toolbar` element. */ Drupal.behaviors.keyboardNavigation = { attach: (context) => { once('keyboard-processed', '.admin-toolbar', context).forEach( Loading Loading
core/modules/navigation/js/arrow-navigation.js +13 −0 Original line number Diff line number Diff line /** * @file * Keyboard navigation component. */ ((Drupal, once, { focusable }) => { /** * Attaches the keyboard navigation functionality. * * @type {Drupal~behavior} * * @prop {Drupal~behaviorAttach} attach * Attaches the behavior to the `.admin-toolbar` element. */ Drupal.behaviors.keyboardNavigation = { attach: (context) => { once('keyboard-processed', '.admin-toolbar', context).forEach( Loading