diff options
author | Joas Schilling <coding@schilljs.com> | 2021-08-23 15:47:50 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-08-23 15:47:50 +0200 |
commit | 228aeb4dd17c89b6698b6d28aea91873147df55c (patch) | |
tree | 0287f2555a4a911bce74e369ff37dc3f4179dc39 /src/mixins/arrowNavigation.js | |
parent | 4891e8017f4d4e837a7cde52c164abc61c1a72a7 (diff) |
Autofixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/mixins/arrowNavigation.js')
-rw-r--r-- | src/mixins/arrowNavigation.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mixins/arrowNavigation.js b/src/mixins/arrowNavigation.js index 2fe79c4e0..b0fc4c5f0 100644 --- a/src/mixins/arrowNavigation.js +++ b/src/mixins/arrowNavigation.js @@ -74,6 +74,7 @@ const arrowNavigation = { /** * If none already focused, focus the first rendered result + * * @param {Event} event the keydown event */ focusInitialise(event) { @@ -84,6 +85,7 @@ const arrowNavigation = { /** * Focus the first item if any + * * @param {Event} event the keydown event */ focusFirst(event) { @@ -99,6 +101,7 @@ const arrowNavigation = { /** * Focus the next item if any + * * @param {Event} event the keydown event */ focusNext(event) { @@ -124,6 +127,7 @@ const arrowNavigation = { /** * Focus the previous item if any + * * @param {Event} event the keydown event */ focusPrev(event) { @@ -149,6 +153,7 @@ const arrowNavigation = { /** * Focus the specified item index if it exists + * * @param {number} index the item index */ focusIndex(index) { @@ -160,6 +165,7 @@ const arrowNavigation = { /** * Set the current focused element based on the target + * * @param {Event} event the focus event */ setFocusedIndex(event) { |