Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to get/set "checked" state on "button-bar" - component from AngularJS ?
operun last edited by Fran Diox
How to get/set “checked” state on “button-bar” - component from AngularJS ?
<div class="button-bar"> <div class="button-bar__item"> <input type="radio" name="segment-a" checked> <button class="button-bar__button">Button1</button> </div> <div class="button-bar__item"> <input type="radio" name="segment-a"> <button class="button-bar__button">Button2</button> </div> </div>
I know you wanted Angular, but this is how in JS:
Hopefully, this helps or gets you started.