mn-select

npm install --save mn-select

And bundle dependencies and main files in dist/ with your preferred tool.

usage

just use the tag mn-select and option, e.g.

To begin with an value, you can use the attribute selected in tag option

Or just use the attribute value in mn-select

If you want set the value from javascript, just assign a value to property value, e.g.

document.querySelector('mn-select').value = '#000'