2.0.0 • Published 6 years ago

copypaste-webcomponent v2.0.0

Weekly downloads
38
License
ISC
Repository
github
Last release
6 years ago

Dependency-free custom element with shadow DOM. Specify text as a property that a user can then copy to the clipboard.

Usage

  • type npm install copypaste-webcomponent in your terminal
  • import the module

    	```
    	<script type="module">
    	import './node_modules/copypaste-webcomponent/index.js';
    	</script>
    	```
  • plop the <copy-paste></copy-paste> component in your markup wherever you want it to appear!

  • The text can be whatever you want! e.g.
<copy-paste>lorem ipsum</copy-paste>
2.0.0

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago