Latest web development tutorials

AngularJS ng-mouseover command

AngularJS Reference Manual AngularJS Reference Manual


AngularJS examples

Move the mouse pointer to the upper element execution expression:

<Div ng-mouseover = "count = count + 1" ng-init = "count = 0"> mouse to move me! </ Div>

<H1> {{count}} </ h1>

try it"

Definition and Usage

ng-mouseover command is used to tell AngularJS mouse move operations to the specified HTML element to be executed.

ng-mouseover directive does not cover the native element onmouseover event, the event is triggered, ng-mouseoverexpression and native onmouseover event is executed.


grammar

<Element ng-mouseover = "expression "> </ element>

All HTML elements support this instruction.


Parameter Value

value description
expression When the elements to perform expression mouse movement.

AngularJS Reference Manual AngularJS Reference Manual