©
This document uses PHP Chinese website manual Release
指定自定义行为到mouseleave事件上。
<ANY
ng-mouseleave="">
...
</ANY>
参数 | 类型 | 详述 |
---|---|---|
ngMouseleave | expression | 在mouseleave触发时执行的表达式 . (事件对象存放于 |
<button ng-mouseleave="count = count + 1" ng-init="count=0">
Increment (when mouse leaves)
</button>
count: {{count}}