YouTip LogoYouTip

Ng Ng Dblclick

# AngularJS `ng-dblclick` Directive [![Image 3: AngularJS Reference](#) AngularJS Reference](#) * * * ## AngularJS Example Increment the variable `count` by 1 on each mouse double-click:

Welcome

[Try it Β»](#) * * * ## Definition and Usage The **ng-dblclick** directive tells AngularJS what to do when an HTML element is double-clicked. The **ng-dblclick** directive does not override the element's original `ondblclick` event. Both the **ng-dblclick** expression and the original `ondblclick` event will execute when the element is double-clicked. * * * ## Syntax The directive is supported by all HTML elements. * * * ## Parameter Values | Value | Description | | --- | --- | | _expression_ | An expression to execute after the element is double-clicked. | * * AngularJS Reference](#)
← Sass FunctionsSass Mixin Include β†’