AngularJS ng-mouseenter instruction
AngularJS examples
Executed when the mouse pointer across the expression elements:
<Div ng-mouseenter = "count = count + 1" ng-init = "count = 0"> mouse through me! </ Div>
<H1> {{count}} </ h1>
<H1> {{count}} </ h1>
try it"
Definition and Usage
ng-mouseenter tell the operating instructions for AngularJS HTML elements when the mouse passes through to perform.
ng-mouseenter directive does not cover elements native onmouseenter event, the event is triggered, ng-mouseenterexpression and native onmouseenter event will be executed.
grammar
<Element ng-mouseenter = "expression "> </ element>
All HTML elements support this instruction.
Parameter Value
value | description |
---|---|
expression | When passing through the element execution expression mouse. |