Easy Tutorial
❮ Ng Ng Paste Ng Ng Bind Html ❯

AngularJS ng-mousemove Directive

AngularJS Reference Manual


AngularJS Example

Execute an expression when the mouse pointer moves over the element:


Definition and Usage

The ng-mousemove directive is used to tell AngularJS what to do when the mouse moves over an HTML element.

The ng-mousemove directive does not override the element's native onmousemove event, both the ng-mousemove expression and the native onmousemove event will be executed.


Syntax

This directive is supported by all HTML elements.


Parameter Values

Value Description
expression The expression to execute when the mouse moves over the element.

AngularJS Reference Manual

❮ Ng Ng Paste Ng Ng Bind Html ❯