You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
Using this letter-spacing hack obviously breaks the moment your mark needs to be something more than one character. It's also non-semantic. And requires math to calculate the actual letter-spacing value. Just fix it and provide something better ;-)
Edit: the semantic grouping works by using <tspan>s, but they don't do what I want them yet.
The text was updated successfully, but these errors were encountered:
This is definitely on the list! My intent here is to use the same approach as input type="range"> and allow the use of a <datalist> to specify tick marks.
Fully agree, <datalist> is the way to go, nothing new is required 🎉. Now all we need is a way to make the <option>s to flow nicely around the <input-knob>.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ideally something like…
Each
<input-knob-mark>
should set the<input-knob>
to the correspondingvalue
attribute's value.Currently, building this by hand is tedious, but maybe an approach like I took here might help a bit automate the annoying parts.
Using this
letter-spacing
hack obviously breaks the moment your mark needs to be something more than one character. It's also non-semantic. And requires math to calculate the actualletter-spacing
value. Just fix it and provide something better ;-)Edit: the semantic grouping works by using
<tspan>
s, but they don't do what I want them yet.The text was updated successfully, but these errors were encountered: