Function readFile

  • Read a file object.

    Parameters

    • file: File | Blob

      File or Blob object to read

    • Optional format: "DataURL" | "Text" | "ArrayBuffer" | "BinaryString" = "DataURL"

      Read as what? Must correspond to a readAs method on FileReader

    Returns Promise<any>

Generated using TypeDoc