ng-mouseenter

mouseenter 事件指定之定义行为。

指令信息

这个指令的执行优先级为0级

用法

用作属性:

<ANY ng-mouseenter="expression">
...
</ANY>

参数

参数 形式 详细
ngMouseenter expression 通过 mouseenter 操作触发需要解析的表达式(事件对象可以通过 $event 获得)。

例子

<button ng-mouseenter="count = count + 1" ng-init="count=0">
  Increment (when mouse enters)
</button>
count: {{count}}