mardi 22 août 2017

Get all Checked Paper-checkbox in Polymer 2.0

I want to disable/enable a submit button based on the state of paper-checkboxes in my iron-form. So, for that I am using the iron-change event.

In that event, I want to see whether any checkbox is checked or not. One approach is to loop over all checkboxes.

Is there any other way in Polymer to get the length of checked paper-checkboxes?




Aucun commentaire:

Enregistrer un commentaire