readText

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

This function allows you to read the content of the clipboard

Return

  1. -Promise

    A promise fullfilled when the content has been read correctly

Example

import { copyText, readText } from '@blackbyte/sugar/clipboard';
await readText();

Todo

  • testsnormal