Package Exports
- clipboard-plus
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (clipboard-plus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
clipboard-plus
Copy texts to clipboard via JavaScript (ES6)
Installation
$ npm install clipboard-plusUsage
Add the paths to configuration:
const copy = require('clipboard-copy');
let node = document.querySelector('#content');
copy(node);or
const copy = require('clipboard-copy');
copy('this is the copied content');License
clipboard-plus is available under the terms of the MIT license.