* Return the value of 'spatial-navigation-action' css property of an element * @function getCSSSpatNavAction * @param element {Node} - would be the spatial navigation container * @returns {string} auto | focus | scroll
(element)
| 691 | * @returns {string} auto | focus | scroll |
| 692 | */ |
| 693 | function getCSSSpatNavAction(element) { |
| 694 | return readCssVar(element, 'spatial-navigation-action') || 'auto'; |
| 695 | } |
| 696 | |
| 697 | /** |
| 698 | * Only move the focus with spatial navigation. Manually scrolling isn't available. |
no test coverage detected