readFile

Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.clipboard

This function allows you to read the file copied to clipboard

Return

  1. -Promise

    A promise fullfilled when the content has been read correctly

Example

import { readFile } from '@blackbyte/sugar/clipboard';
await readFile();

Todo

  • testsnormal