First, smaller controls are definitely coming; it's something we're building out now. (Think XD-on-macOS sized controls.) Devs can then pick the size that makes the most sense in the context of their plugin's content.
For reading the value of an `sp-radio-group`, you can add a `value` attribute to each `sp-radio` item.
Well done, as always!
First, smaller controls are definitely coming; it's something we're building out now. (Think XD-on-macOS sized controls.) Devs can then pick the size that makes the most sense in the context of their plugin's content.
For reading the value of an `sp-radio-group`, you can add a `value` attribute to each `sp-radio` item.
<sp-radio-group id="greeting">
<sp-radio value="hi">Hello</sp-radio>
<sp-radio value="there" checked="">There</sp-radio>
</sp-radio-group>
and then, in JS:
const selection = document.querySelector("#greeting").value;
Good comments on needing more Spectrum color values; will take that under consideration!