ls-view-text-copy
v1.0.0
Published
Litespeed.js view component that adds a copy button to your element text content or input element value.
Downloads
3
Maintainers
Readme
ls-view-text-copy
Litespeed.js view component that adds a copy button to your element text content or input element value.
Installation
This package is wrapped as a Litespeed.js component. To use it, you need to init a new Litespeed.js project or use an exisiting Litespeed.js project. To learn more about Litespeed.js Javascript web framework got to the official repository.
Install with NPM:
npm install ls-view-text-copy
Install with CDN:
<script src="https://cdn.jsdelivr.net/npm/ls-view-text-copy"></script>
Getting Started
Example
<input type="text" value="Hello World!" maxlength="20" data-ls-text-copy />
Contributing
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send us a pull request.
For security issues, please email [email protected] instead of posting a public issue in GitHub.
Copyright and license
The MIT License (MIT) http://www.opensource.org/licenses/mit-license.php