dont-copy
v0.1.2
Published
A vue3.js package to disallow copy/paste and right click context menu operations on html input tag(s)
Downloads
11
Maintainers
Readme
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 📬 [email protected]