shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
copyText
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.clipboard
This function allows you to copy to the clipboard the passed text
Params
- text*-String
The text to copy
Return
- -Promise
A promise fullfilled when the copy has been made correctly
Example
import { copyText } from '@blackbyte/sugar/clipboard';
copyText('Hello world');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space