1.0.1 • Published 6 years ago
blox-clipboard v1.0.1
\<blox-clipboard>
A webcomponent that copies the supplied text to the clipboard
Install the Polymer-CLI
First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install
to install your element's dependencies, then run polymer serve
to serve your element locally.
Install blox-clipboard
$ npm install blox-clipboard
Viewing Your Element
$ polymer serve
Running Tests
$ polymer test
Import
$ import 'blox-clipboard';
Basic Use
<blox-clipboard
text="{{textToCopy}}">
</blox-clipboard>