AngularJS ng-mousemove Directive
-- Learning is not just about technology, but also about dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
AngularJS Tutorial
AngularJS Tutorial AngularJS Introduction AngularJS Expressions AngularJS Directives AngularJS Model AngularJS Scope AngularJS Controllers AngularJS Filters AngularJS Service AngularJS Http AngularJS Select AngularJS Tables AngularJS SQL AngularJS HTML DOM AngularJS Events AngularJS Modules AngularJS Forms AngularJS Input Validation AngularJS API AngularJS Bootstrap AngularJS Includes AngularJS Animations AngularJS Dependency Injection AngularJS Routing AngularJS Application
AngularJS Examples
AngularJS Reference
AngularJS ng-mouseover Directive
AngularJS ng-mousemove Directive
AngularJS Example
Execute an expression when the mouse pointer moves over an element:
{{count}}
Definition and Usage
The ng-mousemove directive tells 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. When the event triggers, both the ng-mousemove expression and the native onmousemove event will execute.
Syntax
<element ng-mousemove="expression"></element>
All HTML elements support the directive.
Parameter Values
| Value | Description |
|---|---|
| expression | The expression to execute when the mouse moves over the element. |
YouTip