Home > DeveloperSection > Forums > How to use paste event in angular js.
Ankit Singh

Total Post:341

Points:2389
Posted on    March-01-2016 9:45 PM

 Angular JS Angular JS 
Ratings:


 1 Reply(s)
 349  View(s)
Rate this:
We want to use  paste event in angular js. How to do this please help me.


aditya kumar Patel

Total Post:250

Points:1782
Posted on    March-01-2016 9:46 PM

@{

Layout = null;

}

<!DOCTYPE html>

<html>

<head>

<title>Forum</title>

<meta name="viewport" content="width=device-width" />

<title></title>

<script src="~/Scripts/jquery-2.1.4.js"></script>

<script src="~/Scripts/angular.js"></script>

</head>

<body ng-app>

<input ng-paste="paste='Pasted record'" ng-init="paste='Not Pasted record';

value=''" placeholder="Paste Here" ng-model="value">

</br>

<h3>Status: {{paste}} <h3>

</body>

</html>


Don't want to miss updates? Please click the below button!

Follow MindStick