@vicinae/api
    Preparing search index...

    Function readText

    • Read the text representation of the current clipboard data. If the data is not text at all, this returns an empty string. If you want to read optional html or file path, consider

      Parameters

      • Optionaloptions: { offset?: number }

      Returns Promise<string>

      Note: the offset option is not yet implemented.

      const text = await Clipboard.readText();