FileProgressEvent Interface
Processing stage, with real work counts when available. Missing total means indeterminate, never an estimated percentage.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| byteLength | Input or output byte count, when known. |
| completed | The completed value of FileProgressEvent. |
| operation | The operation value of FileProgressEvent. |
| operationId | The operationId value of FileProgressEvent. |
| phase | The phase value of FileProgressEvent. |
| streamType | The streamType value of FileProgressEvent. |
| total | The total value of FileProgressEvent. |
| unit | 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.
function inspectFileProgressEventPhase(fileProgressEvent: { phase: unknown }) {
const value = fileProgressEvent['phase'];
console.log('FileProgressEvent.phase', value);
}