A webcomponent that copies the supplied text to the clipboard
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.
$ npm install blox-clipboard
$ polymer serve
$ polymer test
$ import 'blox-clipboard';
<blox-clipboard
text="{{textToCopy}}">
</blox-clipboard>