@taufik-nurrohman/option-picker

2.2.7 • Public • Published

Option Picker

Accessible custom <select> (and <input list>) element.

index.js index.min.js

Option Picker

Press Enter or Space key to open/close the options list. Use ArrowDown and ArrowUp keys to open the options list and then focus on an option, then press Enter, Space, or Tab to select it. On the “strict” option picker presentation, you should be able to type away when you focus on it to select the first active option that contains text that matches the search query you are currently typing. On the “loose” option picker presentation, when you start to input a value, the available options get filtered instead of selected immediately.

Contribute

  • Please do not make pull requests by editing the files that are in the root of the project. They are generated automatically by the build tool.
  • Install Git and Node.js
  • Run git clone https://github.com/taufik-nurrohman/option-picker.git
  • Run cd option-picker && npm install --save-dev
  • Edit the files in the .factory folder.
  • Run npm run pack to generate the production ready files.

Package Sidebar

Install

npm i @taufik-nurrohman/option-picker

Weekly Downloads

7

Version

2.2.7

License

MIT

Unpacked Size

260 kB

Total Files

9

Last publish

Collaborators

  • taufik-nurrohman