We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9327487 commit 6ce287aCopy full SHA for 6ce287a
README.md
@@ -28,14 +28,16 @@ $ npm install @github/combobox-nav
28
### JS
29
30
```js
31
-import {install, navigate, uninstall} from '@github/combobox-nav'
+import {clearSelection, install, navigate, uninstall} from '@github/combobox-nav'
32
const input = document.querySelector('#robot-input')
33
const list = document.querySelector('#list-id')
34
35
// To install this behavior
36
install(input, list)
37
// To move selection to the nth+1 item in the list
38
navigate(input, list, 1)
39
+// To clear selection
40
+clearSelection(input, list)
41
// To uninstall this behavior
42
uninstall(input, list)
43
```
0 commit comments