HOW TO USE PASTE EVENT IN ANGULAR JS.

Ankit Singh

Total Post:341

Points:2389
Posted by  Ankit Singh
 722  View(s)
Ratings:
Rate this:
We want to use  paste event in angular js. How to do this please help me.
  1. aditya kumar Patel

    Post:254

    Points:1810
    Re: How to use paste event in angular js.

    @{

    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>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!