Improve this Doc  View Source

ngMouseup

  1. - directive in module ng

Specify custom behavior on mouseup event.

Directive Info

Usage

Arguments

Param Type Details
ngMouseup expression

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

Example

  Edit in Plunker
<button ng-mouseup="count = count + 1" ng-init="count=0">
  Increment (on mouse up)
</button>
count: {{count}}