{"repo":"github/clipboard-copy-element","free":true,"listed":false,"github":"https://github.com/github/clipboard-copy-element","clone":"git clone https://github.com/github/clipboard-copy-element.git","description":"Copy element text content or input values to the clipboard.","language":"JavaScript","stars":492,"topics":["web-components","custom-elements"],"license":"MIT","category":"ui-components","readme_excerpt":"&lt;clipboard-copy&gt; element Copy element text content or input values to the clipboard. Installation Usage Script Import as ES modules: With a script tag: Markup Data sources Attribute Element content Form input Hyperlink href Events After copying to the clipboard, a clipboard-copy event is dispatched from the element: Browser support Browsers without native [custom element support][support] require a [polyfill][]. - Chrome - Firefox - Safari - Microsoft Edge [support]: https://caniuse.com/#feat=custom-elementsv1 [polyfill]: https://github.com/webcomponents/polyfills/tree/master/packages/custom-elements Development License Distributed under the MIT license. See LICENSE for details.","default_branch":null,"files":null,"tree":[],"storefront":"/r/github","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/github/clipboard-copy-element/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}