1.0.0 • Published 2 years ago
use-light-copy v1.0.0
install
npm install use-light-copy
Usage
/*
* @name: toCopy
* @test: test font
* @msg:
* @param text:String options:Object =>{debug:Boolean}
* @return Promise=>then(res:Boolean)
*/
const { toCopy } = require('use-light-copy')
button.addEventListener('click', async () => {
await isCopy = toCopy('This is some cool text',{debug:true})
})
1.0.0
2 years ago