Small polyfill / web component for the new stylable <select>
-standard, using the popover API
.
<select>
<button>
<selectedoption></selectedoption>
</button>
<datalist>
<option>one</option>
<option>two</option>
</datalist>
</select>
Is turned into:
<ui-select>
<button popovertarget></button>
<ui-datalist popover>
<ui-option>one</ui-option>
<ui-option>two</ui-option>
</ui-datalist>
</ui-select>