ng-mouseover
Handler for mouseover event
Description
The ng-mouseover directive allows you to specify custom behavior when a mouse
is placed over an element.
Parameters
ng-mouseover
Type: Expression
Description: Expression to evaluate upon mouseover event. MouseEvent object is available as
$event.Example:
<div ng-mouseover="$ctrl.greet($event)"></div>
Demo
<section ng-app>
<div ng-init="count = 0" ng-mouseover="count = count + 1">Mouse Over</div>
Mouse Over {{ count }} times
</section>
Mouse Over
Mouse Over {{ 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.