YouTip LogoYouTip

Ng Ng Mouseleave

# AngularJS `ng-mouseleave` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Execute an expression when the mouse pointer leaves an element:
Move mouse away from me!

{{count}}

[Try it Β»](#) * * * ## Definition and Usage The **ng-mouseleave** directive tells AngularJS what to do when the mouse pointer leaves an HTML element. The **ng-mouseleave** directive does not override the element's native onmouseleave event. When the event is triggered, both the **ng-mouseleave** expression and the native onmouseleave event will execute. * * * ## Syntax All HTML elements support this directive. * * * ## Parameter Values | Value | Description | | --- | --- | | _expression_ | An expression to execute when the mouse leaves the element. | * * AngularJS Reference](#)
← Func Cubic BezierTag Picture β†’