Improve this Doc  View Source

ngDblclick

  1. - directive in module ng

The ngDblclick directive allows you to specify custom behavior on a dblclick event.

Directive Info

Usage

Arguments

Param Type Details
ngDblclick expression

Expression to evaluate upon a dblclick. (The Event object is available as $event)

Example

  Edit in Plunker
<button ng-dblclick="count = count + 1" ng-init="count=0">
  Increment (on double click)
</button>
count: {{count}}