≡ 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) ~> boolean
FR.hasFailed(fileReader) ~> boolean
FR.hasStarted(fileReader) ~> boolean
FR.hasSucceeded(fileReader) ~> boolean
FR.isDone(fileReader) ~> boolean
FR.isProgressing(fileReader) ~> boolean
FR.loaded(fileReader) ~> number
FR.readyState(fileReader) ~> number
FR.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'