1.0.9 • Published 7 years ago

@therapychat/copy-to-clipboard v1.0.9

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 years ago

Build status Published on webcomponents.org js-standard-style

\<copy-to-clipboard>

Web Component to use clipboard.js

Example of use:

<copy-to-clipboard
  id="copyToClipboard"
  clipboard-value-to-copy="[[value]]"
  clipboard-value-copied="{{copiedValue}}"
  clipboard-trigger-id="copyButton"
></copy-to-clipboard>
<paper-input
  label="Value to Copy"
  value="{{value}}"
></paper-input>
<paper-input
  label="Copied Value"
  value="[[copiedValue]]"
  disabled
></paper-input>
<paper-button id="copyButton">COPY</paper-button>

Changelog

See CHANGELOG file.

Contributing

Please read CONTRIBUTING file to follow good practices.

You will need NodeJS.

  1. Close the repo: git clone git@github.com:TherapyChat/copy-to-clipboard.git
  2. Install dependencies: npm install
  3. Code!
  4. Test: npm test
  5. Create a Pull Request

Contributors

License

This project is available under the Apache License 2.0. See the LICENSE file for more info.

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago