Closed gmaclennan closed 6 years ago
An <input type="checkbox"> can be indeterminate which is displayed by default in browsers as a horizontal line. The indeterminate property needs to be set directly rather than with el.setAttribute() see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#Indeterminate_state_checkboxes
<input type="checkbox">
indeterminate
el.setAttribute()
nanohtml does seem to know about the indeterminate prop, but as implemented passing <input type="checkbox" indeterminate="indeterminate"> will not work as expected.
<input type="checkbox" indeterminate="indeterminate">
An
<input type="checkbox">
can beindeterminate
which is displayed by default in browsers as a horizontal line. Theindeterminate
property needs to be set directly rather than withel.setAttribute()
see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#Indeterminate_state_checkboxesnanohtml does seem to know about the indeterminate prop, but as implemented passing
<input type="checkbox" indeterminate="indeterminate">
will not work as expected.