Answers for "onclick toggle the class of the ng-for loop items the angular 6"

0

angular ng-click toggle class

$scope.toggle = false;


<button id="btn" ng-click="toggle = !toggle" ng-class="{'red' : toggle}">Change Class</button>
Posted by: Guest on June-08-2020

Code answers related to "onclick toggle the class of the ng-for loop items the angular 6"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language