Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更改ng mouseover和ng mouseout事件angularjs上相同div的颜色_Angularjs_Angular Ui Bootstrap - Fatal编程技术网

更改ng mouseover和ng mouseout事件angularjs上相同div的颜色

更改ng mouseover和ng mouseout事件angularjs上相同div的颜色,angularjs,angular-ui-bootstrap,Angularjs,Angular Ui Bootstrap,我有div标签,在鼠标上,无论我想将现有的div颜色更改为其他颜色,反之亦然 <div class="btn col-lg-3" style="color:white;" ng-mouseover="" ng-mouseout="" ng-class=""> <strong>ABOUT</strong> </div> 关于 如何使用angularjs实现这一点?有人能帮我吗 <div class="btn col-lg-3"

我有div标签,在鼠标上,无论我想将现有的div颜色更改为其他颜色,反之亦然

<div class="btn col-lg-3" style="color:white;" ng-mouseover="" ng-mouseout="" ng-class="">
    <strong>ABOUT</strong>
</div>

关于
如何使用angularjs实现这一点?有人能帮我吗


  <div class="btn col-lg-3" style="color:white;" ng-class="{'call-name':hovering}"  ng-mouseenter="hovering=true"
ng-mouseleave="hovering=false">
     <strong>ABOUT</strong>
  </div>
关于
检查这把小提琴