1.0.1 • Published 7 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-clipboardViewing Your Element
$ polymer serveRunning Tests
$ polymer testImport
$ import 'blox-clipboard';Basic Use
<blox-clipboard
text="{{textToCopy}}">
</blox-clipboard>