Specify custom behavior on mouseleave event.
<ANY
ng-mouseleave="expression">
...
</ANY>
Param | Type | Details |
---|---|---|
ngMouseleave | expression |
Expression to evaluate upon
mouseleave. (Event object is available as |
<button ng-mouseleave="count = count + 1" ng-init="count=0">
Increment (when mouse leaves)
</button>
count: {{count}}