AngularJS ng-dblclick instruction
AngularJS examples
In each double click, the variable count plus 1:
<H1 ng-dblclick = "count = count + 1" ng-init = "count = 0"> Welcome </ h1>
try it"
Definition and Usage
ng-dblclick instruction is used to tell the operator when the mouse mouse AngularJS HTML elements need to be performed.
ng-dblclick command does not overwrite the original elements ondblclick event, double-click the mouse, ng-dblclickexpression ondblclick the original event will be executed.
grammar
<Element ng-dblclick = "expression "> </ element>
All HTML elements support the instruction.
Parameter Value
value | description |
---|---|
expression | Expressions executed after mouse double-click elements. |