# FileProgressEvent Interface

> FileProgressEvent interface in the TX Sheet Control TypeScript API for the browser: Processing stage, with real work counts when available.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > FileProgressEvent Interface
- **550 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/llms-full.txt

---

Processing stage, with real work counts when available. Missing total means indeterminate, never an estimated percentage.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [byteLength](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/bytelength-property/llms-full.txt) | Input or output byte count, when known. |
| [completed](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/completed-property/llms-full.txt) | The completed value of FileProgressEvent. |
| [operation](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/operation-property/llms-full.txt) | The operation value of FileProgressEvent. |
| [operationId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/operationid-property/llms-full.txt) | The operationId value of FileProgressEvent. |
| [phase](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/phase-property/llms-full.txt) | The phase value of FileProgressEvent. |
| [streamType](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/streamtype-property/llms-full.txt) | The streamType value of FileProgressEvent. |
| [total](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/total-property/llms-full.txt) | The total value of FileProgressEvent. |
| [unit](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/unit-property/llms-full.txt) | The unit value of FileProgressEvent. |

### Examples

Pass the FileProgressEvent value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { FileProgressEvent } from '@txtextcontrol/tx-sheet-control';

function inspectFileProgressEventPhase(fileProgressEvent: FileProgressEvent) {
    const value = fileProgressEvent['phase'];
    console.log('FileProgressEvent.phase', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Events and Cancellation](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/events/llms-full.txt)

---

## In This Section

- [FileProgressEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/bytelength-property/llms-full.txt): FileProgressEvent.byteLength property in the TX Sheet Control TypeScript API for the browser: Input or output byte count, when known.
- [FileProgressEvent.completed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/completed-property/llms-full.txt): FileProgressEvent.completed property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [FileProgressEvent.operation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/operation-property/llms-full.txt): FileProgressEvent.operation property in the TX Sheet Control TypeScript API for the browser, with its type "load" | "save" and a TypeScript example.
- [FileProgressEvent.operationId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/operationid-property/llms-full.txt): FileProgressEvent.operationId property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [FileProgressEvent.phase Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/phase-property/llms-full.txt): FileProgressEvent.phase property in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.
- [FileProgressEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/streamtype-property/llms-full.txt): FileProgressEvent.streamType property in the TX Sheet Control TypeScript API for the browser, with its type StreamType and a TypeScript example.
- [FileProgressEvent.total Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/total-property/llms-full.txt): FileProgressEvent.total property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [FileProgressEvent.unit Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/unit-property/llms-full.txt): FileProgressEvent.unit property in the TX Sheet Control TypeScript API for the browser, with its type "bytes" | "pages" | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [FileOperationStartingEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationstartingevent/streamtype-property/llms-full.txt)
- **Next:** [FileProgressEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileprogressevent/bytelength-property/llms-full.txt)
