ng-mouseout
Handler for mouseout event
Description
The ng-mouseout directive allows you to specify custom behavior when a mouse
leaves any part of the element or its children.
Parameters
ng-mouseout
Type: Expression
Description: Expression to evaluate upon mouseout event. MouseEvent object is available as
$event.Example:
<div ng-mouseout="$ctrl.greet($event)"></div>
Demo
<section ng-app>
<div ng-init="count = 0" ng-mouseout="count = count + 1">Mouse Out</div>
Mouse Out {{ count }} times
</section>
Mouse Out
Mouse Out {{ count }} timesFeedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.