Improve this Doc  View Source

ngMousemove

  1. - directive in module ng

Specify custom behavior on mousemove event.

Directive Info

Usage

Arguments

Param Type Details
ngMousemove expression

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

Example

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