• Load text files stored on user's computer using FileReader. It is triggered as an onChange event on an <input type="file" [...] hidden/> element.

    Parameters

    • e: ChangeEvent<HTMLInputElement>

      onChange event

    • handleLoadFile: ((e, obj) => void)

      callback function to handle the file once loaded

        • (e, obj): void
        • Parameters

          • e: any
          • obj: any

          Returns void

    Returns void

Generated using TypeDoc