- ng-cut is specify custom behavior on cut event.
How to apply ng-cut? <input ng-cut="cut=true" ng-init="cut=false; value='please cut me'" ng-model="value">
You just cut it: {{cut}}
- ng-paste is specify custom behavior on paste event.
How to apply ng-paste? <input ng-paste="paste=true" ng-init="paste=false" placeholder='please paste here'>
pasted: {{paste}}
Full code for this example as below:
Read more »
Bagikan
How to use ng-paste and ng-cut?
4/
5
Oleh
Kris Kimcil