≡ Karet FR ·

This library provides a thin wrapper over the standard
FileReader API.
See also Karet XHR.
Examples:
- Live Image Upload CodeSandbox.
≡ Contents
- Reference
- Starting
- State
FR.hasEnded(fileReader) ~> booleanFR.hasFailed(fileReader) ~> booleanFR.hasStarted(fileReader) ~> booleanFR.hasSucceeded(fileReader) ~> booleanFR.isDone(fileReader) ~> booleanFR.isProgressing(fileReader) ~> booleanFR.loaded(fileReader) ~> numberFR.readyState(fileReader) ~> numberFR.total(fileReader) ~> number
- Result
≡ Reference
The interface of this library consists of named exports. Typically one just imports the library as:
import * as FR from 'karet.fr'