ng-mousedown
The ngMousedown directive allows you to specify custom behavior on mousedown event on a fa-surface.
Usage
<ANY ng-mousedown="expression">
</ANY>
API
Attr | Type | Details |
---|---|---|
ngMousedown |
expression
|
Expression to evaluate upon
mousedown. (Event object is available as |
Example
Edit in Plunker
<fa-surface ng-mousedown="count = count + 1" ng-init="count=0" style="cursor: pointer;">
Increment (on mouse down), count: {{count}}
</fa-surface>