YouTip LogoYouTip

Ng Ng Dblclick

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

Welcome

[Try it Β»](#) * * * ## Definition and Usage The **ng-dblclick** directive is used to tell AngularJS what operation needs to be performed when an HTML element is double-clicked. The **ng-dblclick** directive does not override the element's original ondblclick event. On a mouse double-click, both the **ng-dblclick** expression and the original ondblclick event will be executed. * * * ## Syntax All HTML elements support this directive. * * * ## Parameter Values | Value | Description | | --- | --- | | _expression_ | The expression to execute after double-clicking the element. | * * AngularJS Reference Manual](#)
← Pr Border Bottom ColorCss Colors Legal β†’