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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i dont-copy

Weekly Downloads

0

Version

0.1.2

License

none

Unpacked Size

8.51 kB

Total Files

11

Last publish

Collaborators

  • uksiqa