View source Improve this doc

ngPaste
directive in module ng

Description

Specify custom behavior on paste event.

Usage

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

Parameters

ParamTypeDetails
ngPasteexpression

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

Example

Source



Demo