@vicinae/api
    Preparing search index...

    Function read

    • Read the current content of the clipboard, which can contain text, html and a file path. Note: the offset option is not yet implemented

      const { text, html, file } = await Clipboard.read();
      

      Parameters

      • Optionaloptions: { offset?: number }

      Returns Promise<ReadContent>