ComboBoxComponent is a very lightweight (just over 7KB) and dependency-free web component written in pure JavaScript. See the online demo.
The same motivation as always: I needed a component that didn't require any heavy dependencies. I didn't find anything that met all my needs, so I developed mine.
All desktop/mobile recent browsers.
To compile ComboBoxComponent by yourself, make sure that you have Node.js installed, then:
- Fork and clone the GitHub repository.
- From the command line go to the local ComboBoxComponent folder.
- Run
npm installand wait for the necessary modules installation. Webpack will be installed, look at the other dev dependencies in thepackage.jsonfile. - The
npm run devcommand opens a new browser window for developing purposes,npm run buildcompiles indistfolder. - The
npm run jsdoccommand generates the code documentation indocsfolder.
That's it!
Let me know with a link if you've used ComboBoxComponent in some interesting way, or on a popular site.
