ng-dblclick

This wrapped on ngDblclick directive allows you to specify custom behavior on a dblclick event on a fa-surface .

Usage

<ANY ng-dblclick="expression">

</ANY>

API

Attr Type Details
ngDblclick expression

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

Example

  Edit in Plunker
 <fa-surface ng-dblclick="count = count + 1" ng-init="count=0">
  Increment (on double click), count: {{count}}
</fa-surface>
 body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
fa-surface {
  cursor: pointer;
}