Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 591 Bytes

ng.ng-mouseenter.md

File metadata and controls

35 lines (24 loc) · 591 Bytes

ng-mouseenter

  • Angular@1.4.7
  • ng 模块中的指令

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}}