I am using Ember Form For and I want to know if it is possible to add a sibling element.
Currently doing this:
will render this:
<div>
<label><input type="radio" value="female" />Female</label>
</div>
I need a container sibling element which I can add CSS pseudo classes to. I am unable to target parent containers of the input hence why I need a sibling element. So something like this is what I am after:
<div>
<label>
<input type="radio" value="female" />
Female
<div class="someClass></div>
</label>
</div>
Aucun commentaire:
Enregistrer un commentaire