3 ms·
Again, just in case... In Sciter, all input elements are ordinary styleable primitive DOM elements. <select> is there too so you can style it in the way you wa
by c-smile 4y ago
Again, just in case...
In Sciter, all input elements are ordinary styleable primitive DOM elements. <select> is there too so you can style it in the way you want:
select {...}
select > caption {...}
select > button {...}
select > popup {...}
select > popup > option {...}
Such composition goes even further. <option>s, for example, may have arbitrary content as also you can apply built-in DOM element controllers to DOM structure of your choice.
This for example is a table that behaves as a <select type="list"> with rows-options:
<table>
<tbody style="behavior:select-list; overflow-y:auto;">
<tr role="option" value="A"><td><td></tr>
<tr role="option" value="B"><td><td></tr>
</tbody>
</table>