Mu-An Chiou
21348b469c
Rename browser.js to bundle.js
...
so the purpose is clearer
2020-04-30 12:59:14 -04:00
David Graham
ca5395c93f
Build native module as main file
...
Co-authored-by: Mu-An Chiou <me@muanchiou.com>
2020-04-29 11:00:53 -06:00
Mu-An Chiou
9149ecac4f
Upgrade API calls to combobox-nav v2
2020-04-28 12:21:12 -04:00
Mu-An Chiou
82de843a06
Update examples/index.html
...
Co-Authored-By: staabm <maggus.staab@googlemail.com>
2018-11-09 15:24:38 +01:00
Markus Staab
45b6c77817
Include unpkg script to be served for gh-pages
2018-11-09 09:48:35 +01:00
Mu-An ✌️ Chiou
8fcad66226
Add form submit example
2018-07-30 22:39:45 -04:00
Mislav Marohnić
4d7da9ece2
Add encoding directive to the example document
2018-06-29 00:07:20 +02:00
Mislav Marohnić
3d769d193a
Fix example in Chrome
...
When `connectedCallback` runs for `<auto-complete>` element while the
document is still parsing, its contents is still unavailable.
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#Using_the_lifecycle_callbacks
It is not clear whether we need to restructure our `connectedCallback`
to be more resilient to this case. In the meantime, fix the example
document by defining the `auto-complete` element at a time that the
document is fully loaded.
2018-06-29 00:04:05 +02:00
David Graham
849b587c1a
Require aria-owns relationship
...
The aria-owns attribute must be configured correctly for the combo box
relationship between the input and result list to work.
2018-05-16 20:00:54 -06:00
David Graham
2d2f6a2a13
Use first child input element
...
Simplify the relationship between the combo box parent and its input
field.
2018-05-16 18:07:12 -06:00
David Graham
0c96ef6424
Remove results element
...
The combo box composite widget is composed of two elements: an input
field and a popup results container.
2018-05-16 18:02:58 -06:00
David Graham
864920e72d
Stub abort method
2018-05-16 17:34:43 -06:00
David Graham
c02d40831e
Ignore selection of disabled list options
2018-05-16 17:32:37 -06:00
David Graham
8e983a5b44
Commit selection result on click
2018-05-16 16:19:59 -06:00
David Graham
4e90bb69c2
Add arrow key list item navigation
2018-05-16 15:16:44 -06:00
David Graham
aa80ad0de6
Label combo box elements
2018-05-16 14:37:04 -06:00
David Graham
3db793d188
Add option role to list items
2018-05-16 14:30:53 -06:00
David Graham
bf5d37a18c
Add example demo page
2018-05-16 13:49:40 -06:00