Change background colour of button when clicked

后端 未结 4 1583

I would like to change the background colour of a button when it is clicked

HTML code:

4条回答
  •  孤城傲影
    2021-01-24 19:19

    You should do it this way

    angular.module('myapp',[]).controller('testCtrl', function($scope){});
    
    
    
      
    
    
    
      

提交回复
热议问题