shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
copyFile
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 file path/url
Params
- url*-String
The file url copy to the clipboard
Return
- -Promise
A promise fullfilled when the copy has been made correctly
Example
import { copyFile } from '@blackbyte/sugar/clipboard';
copyFile('https://www.google.com/favicon.ico');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space