View source Improve this doc

ngCopy
directive in module ng

Description

Specify custom behavior on copy event.

Usage

as attribute
<window, input, select, textarea, a ng-copy="{expression}">
   ...
</window, input, select, textarea, a>

Parameters

ParamTypeDetails
ngCopyexpression

Expression to evaluate upon copy. (Event object is available as $event)

Example

Source



Demo