Skip to content

A web component that copies the supplied text to the clipboard

License

Notifications You must be signed in to change notification settings

EOSBlox/blox-clipboard

Repository files navigation

<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>

About

A web component that copies the supplied text to the clipboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published