# FileLoadedEvent Interface

> FileLoadedEvent interface in the TX Sheet Control TypeScript API for the browser, with 5 properties and a TypeScript example.

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

---

Successful atomic replacement; conversion notices are detached from the live document.

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/fileloadedevent/bytelength-property/llms-full.txt) | Input or output byte count, when known. |
| [operation](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/operation-property/llms-full.txt) | The operation value of FileLoadedEvent. |
| [operationId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/operationid-property/llms-full.txt) | The operationId value of FileLoadedEvent. |
| [streamType](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/streamtype-property/llms-full.txt) | The streamType value of FileLoadedEvent. |
| [warnings](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/warnings-property/llms-full.txt) | The warnings value of FileLoadedEvent. |

### Examples

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

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

function inspectFileLoadedEventWarnings(fileLoadedEvent: FileLoadedEvent) {
    const value = fileLoadedEvent['warnings'];
    console.log('FileLoadedEvent.warnings', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)

---

## In This Section

- [FileLoadedEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/bytelength-property/llms-full.txt): FileLoadedEvent.byteLength property in the TX Sheet Control TypeScript API for the browser: Input or output byte count, when known.
- [FileLoadedEvent.operation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/operation-property/llms-full.txt): FileLoadedEvent.operation property in the TX Sheet Control TypeScript API for the browser, with its type "load" | "save" and a TypeScript example.
- [FileLoadedEvent.operationId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/operationid-property/llms-full.txt): FileLoadedEvent.operationId property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [FileLoadedEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/streamtype-property/llms-full.txt): FileLoadedEvent.streamType property in the TX Sheet Control TypeScript API for the browser, with its type StreamType and a TypeScript example.
- [FileLoadedEvent.warnings Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/warnings-property/llms-full.txt): FileLoadedEvent.warnings property in the TX Sheet Control TypeScript API for the browser, with its type readonly XlsxWarning[] and a TypeScript example.

---

## Nearby

- **Previous:** [englishResources Constant](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/englishresources-constant/llms-full.txt)
- **Next:** [FileLoadedEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileloadedevent/bytelength-property/llms-full.txt)
