0.1.6 • Published 5 months ago

control-copy v0.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

control-copy

A vue3.js component to easily add copy to clipboard functionality to any html input tag

Install

npm i control-copy

Usage

import CtrlC from "control-copy";

//for displaying default icon in your template. Wrap input tag in <CtrlC></Ctrl>
<CtrlC>
  <input type="text" />
</CtrlC>

//or to display your emoji icon, pass in any emoji as prop
<CtrlC copyIcon="📃">
  <input type="text" />
</CtrlC>

//or to display any string as copy button, pass in any string as prop
<CtrlC copyIcon="C">
  <input type="text" />
</CtrlC>

Note

At the moment only one child input tag is supported and only emoji and string are accepted as copyIcon param

License

ISC © Umair Khan 📬 umair@siqasoft.com

0.1.6

5 months ago

0.1.5

5 months ago

0.1.4

5 months ago

0.1.3

5 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.0

5 months ago