How to use paste event in angular js.

Total Post:341

Points:2389
 1054  View(s)
Ratings:
Rate this:
We want to use  paste event in angular js. How to do this please help me.
  1. Post:281

    Points:2003
    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>

      Modified On Apr-11-2018 02:05:40 AM

Answer