Improve this Doc View Source

Specify custom behavior on mouseleave event.

## Directive Info

- This directive executes at priority level 0.

## Usage

- as attribute:

      <ANY
        ng-mouseleave="">
      ...
      </ANY>

### Arguments

Param | Type | Details
--- | --- | ---
ngMouseleave | expression | Expression to evaluate upon mouseleave. (Event object is available as `$event`)

## Example

Edit in Plunker

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