File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /*
1+ /**
22 * Tab key linear focus traversal for Spotlight.
3+ *
4+ * @module spotlight/tabTraversal
5+ * @private
36 */
47
58import last from 'ramda/src/last' ;
@@ -27,23 +30,9 @@ const TAB_ROW_THRESHOLD = 24;
2730// CSS class applied by @enact /i18n I18nDecorator to the app root for RTL locales.
2831const I18N_RTL_CLASS = 'enact-locale-right-to-left' ;
2932
30- /**
31- * Live tab traversal API, set when Spotlight initializes via {@link createTabTraversal}.
32- *
33- * @type {Object|null }
34- */
33+ // Live tab traversal API, set when Spotlight initializes via createTabTraversal.
3534export let tabTraversal = null ;
3635
37- /**
38- * Creates tab traversal helpers wired to Spotlight focus routines.
39- *
40- * @param {Object } deps
41- * @param {Function } deps.focusElement
42- * @param {Function } deps.getCurrent
43- * @param {Function } deps.isPaused
44- * @param {Function } deps.restoreFocus
45- * @returns {Object } Tab traversal API
46- */
4736export function createTabTraversal ( {
4837 focusElement,
4938 getCurrent,
You can’t perform that action at this time.
0 commit comments