dont-copy

0.1.2 • Public • Published

dont-copy

A vue3.js component to disallow copy/paste and right click context menu operations html input tag(s)

Install

npm i dont-copy

Usage

import DontCopy from "dont-copy";

//to disable copy/paste and right click context menu on any input tag. Wrap input tag in <DontCopy></DontCopy>
  <DontCopy>
    <input type="text" .../>
  </DontCopy>

//to disable copy/paste and right click context menu on multiple input tags at once
  <DontCopy>
    <input type="text" .../>
    <input type="text" .../>
    <input type="text" .../>
  </DontCopy>

License

ISC © Umair Khan 📬 umair@siqasoft.com

/dont-copy/

    Package Sidebar

    Install

    npm i dont-copy

    Weekly Downloads

    3

    Version

    0.1.2

    License

    none

    Unpacked Size

    8.51 kB

    Total Files

    11

    Last publish

    Collaborators

    • uksiqa