YouTip LogoYouTip

Ng Ng Mouseover

# AngularJS `ng-mouseover` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Execute an expression when the mouse pointer moves over an element:
Move the mouse over me!

{{count}}

[Try it Β»](#) * * * ## Definition and Usage The **ng-mouseover** directive tells AngularJS what operation to perform when the mouse moves over a specified HTML element. The **ng-mouseover** directive does not override the element's native onmouseover event. When the event is triggered, both the **ng-mouseover** expression and the native onmouseover event will execute. * * * ## Syntax All HTML elements support this directive. * * * ## Parameter Values | Value | Description | | --- | --- | | _expression_ | Expression to execute when the mouse moves over the element. | * * AngularJS Reference](#)
← Ng Ng OptionsNg Ng Mousedown β†’