Skip to content

Commit 79ab6ff

Browse files
committed
Update readme
1 parent 42d1546 commit 79ab6ff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ import {clearSelection, install, navigate, start, stop, uninstall} from '@github
3232
const input = document.querySelector('#robot-input')
3333
const list = document.querySelector('#list-id')
3434

35-
// To install combobox pattern on a given input and listbox
35+
// install combobox pattern on a given input and listbox
3636
install(input, list)
37-
// To start intercepting keyboard events for navigation
37+
// when options appear, start intercepting keyboard events for navigation
3838
start(input)
39-
// To stop intercepting keyboard events for navigation
39+
// when options disappear, stop intercepting keyboard events for navigation
4040
stop(input)
4141

42-
// To move selection to the nth+1 item in the list
42+
// move selection to the nth+1 item in the list
4343
navigate(input, list, 1)
44-
// To reset selection
44+
// reset selection
4545
clearSelection(input, list)
46-
// To uninstall combobox pattern from the input
46+
// uninstall combobox pattern from the input
4747
uninstall(input)
4848
```
4949

0 commit comments

Comments
 (0)