jeudi 17 décembre 2015

Intermediate checkbox in angular using ng-model

Thanks in advance.I want to implement a intermediate checkbox in angular to denote a selection list which is partially selected. I can control the intermediate through the javascript like this :

 var Headercheckbox = document.getElementById("headerCheckbox");

 Headercheckbox.indeterminate = true;

The thing is i want to control the state transition with ng-model value provided to the checkbox . I think this may be simple but i didn't find any solution so i end up here .




Aucun commentaire:

Enregistrer un commentaire