{"id":15462930,"url":"https://github.com/therapychat/copy-to-clipboard","last_synced_at":"2026-02-08T18:02:46.292Z","repository":{"id":57166097,"uuid":"139040233","full_name":"TherapyChat/copy-to-clipboard","owner":"TherapyChat","description":"Polymer web component wrapping clipboard.js","archived":false,"fork":false,"pushed_at":"2018-07-11T12:50:47.000Z","size":184,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T14:50:23.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TherapyChat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-28T15:58:43.000Z","updated_at":"2018-08-11T00:30:35.000Z","dependencies_parsed_at":"2022-08-30T15:21:10.158Z","dependency_job_id":null,"html_url":"https://github.com/TherapyChat/copy-to-clipboard","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TherapyChat%2Fcopy-to-clipboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TherapyChat%2Fcopy-to-clipboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TherapyChat%2Fcopy-to-clipboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TherapyChat%2Fcopy-to-clipboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TherapyChat","download_url":"https://codeload.github.com/TherapyChat/copy-to-clipboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017727,"owners_count":20710242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T00:06:08.677Z","updated_at":"2026-02-08T18:02:46.225Z","avatar_url":"https://github.com/TherapyChat.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build status](https://travis-ci.org/TherapyChat/copy-to-clipboard.svg?branch=master)](https://travis-ci.org/TherapyChat/copy-to-clipboard)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/therapychat/copy-to-clipboard)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)\n\n# \\\u003ccopy-to-clipboard\\\u003e\n\nWeb Component to use [clipboard.js](https://clipboardjs.com/)\n\nExample of use:\n\u003c!---\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"import\" href=\"../paper-input/paper-input.html\"\u003e\n    \u003clink rel=\"import\" href=\"../paper-button/paper-button.html\"\u003e\n    \u003clink rel=\"import\" href=\"copy-to-clipboard.html\"\u003e\n\n    \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n\u003ccopy-to-clipboard\n  id=\"copyToClipboard\"\n  clipboard-value-to-copy=\"[[value]]\"\n  clipboard-value-copied=\"{{copiedValue}}\"\n  clipboard-trigger-id=\"copyButton\"\n\u003e\u003c/copy-to-clipboard\u003e\n\u003cpaper-input\n  label=\"Value to Copy\"\n  value=\"{{value}}\"\n\u003e\u003c/paper-input\u003e\n\u003cpaper-input\n  label=\"Copied Value\"\n  value=\"[[copiedValue]]\"\n  disabled\n\u003e\u003c/paper-input\u003e\n\u003cpaper-button id=\"copyButton\"\u003eCOPY\u003c/paper-button\u003e\n```\n\n## Changelog\n\nSee [CHANGELOG](./CHANGELOG.md) file.\n\n## Contributing\n\nPlease read [CONTRIBUTING](./CONTRIBUTING.md) file to follow good practices.\n\nYou will need [NodeJS](https://nodejs.org).\n\n1. Close the repo: `git clone git@github.com:TherapyChat/copy-to-clipboard.git`\n1. Install dependencies: `npm install`\n1. Code!\n1. Test: `npm test`\n1. Create a [Pull Request](https://github.com/therapychat/copy-to-clipboard/pulls)\n\n### Contributors\n\n- [Alberto Fernandez](https://github.com/AlbertoFdzM)\n\n## License\n\nThis project is available under the `Apache License 2.0`. See the [LICENSE](./LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherapychat%2Fcopy-to-clipboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherapychat%2Fcopy-to-clipboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherapychat%2Fcopy-to-clipboard/lists"}