Improve this Doc  View Source

ngMouseenter

  1. - directive in module ng

Specify custom behavior on mouseenter event.

Directive Info

Usage

Arguments

Param Type Details
ngMouseenter expression

Expression to evaluate upon mouseenter. (Event object is available as $event)

Example

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