select

Better select widgets in vanilla javascript.  https://p.ce9e.org/select/demo/
git clone https://git.ce9e.org/select.git

commit
3128ec2c74410117b7f892404aa8df554b844c56
parent
14304bbfbb98ac40d347d11ecc6a1c0da888a15a
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-03-25 16:22
add README.md

Diffstat

A README.md 32 ++++++++++++++++++++++++++++++++

1 files changed, 32 insertions, 0 deletions


diff --git a/README.md b/README.md

@@ -0,0 +1,32 @@
   -1     1 # Select
   -1     2 
   -1     3 Better select widgets in vanilla javascript.
   -1     4 
   -1     5 The code is intentionally very simple and close to browser defaults.
   -1     6 
   -1     7 ## Usage
   -1     8 
   -1     9 ```html
   -1    10 <link rel="stylesheet" href="select.css">
   -1    11 <script src="select.js" type="module"></script>
   -1    12 <script>
   -1    13 	new Select('myselect', element);
   -1    14 </script>
   -1    15 ```
   -1    16 
   -1    17 ## Roadmap
   -1    18 
   -1    19 -	refactor constructor args
   -1    20 -	optgroups
   -1    21 -	dynamic option creation
   -1    22 -	localization
   -1    23 -	allowClear
   -1    24 -	tokenSeparators
   -1    25 
   -1    26 ## Inspiration
   -1    27 
   -1    28 -	[select2](https://select2.org/)
   -1    29 -	[downshift](https://www.downshift-js.com/)
   -1    30 -	[WAI-ARIA combobox](https://www.w3.org/TR/wai-aria-practices/#combobox)
   -1    31 	([examples](https://www.w3.org/TR/wai-aria-practices/examples/combobox/aria1.1pattern/listbox-combo.html))
   -1    32 -	[`<datalist>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist)