News for hackers. Stuff that matters.
Re:Element – A Vue 2.0-based component library for developer... by tracker1 on Wednesday January 25, 2017 @12:43PM (#13483737)
If more component libraries went with the following structure...

    <label>
      <input type="radio" />
      <span>Label Text</span>
    </label>
It's easy enough to target the input/span as children of label for custom styling, without having to use JS or some weird wrangling of classes and structure.

There are no comments on this comment yet.