TX Sheet Control

FileLoadedEvent Interface

Interface

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

PropertyDescription
byteLengthInput or output byte count, when known.
operationThe operation value of FileLoadedEvent.
operationIdThe operationId value of FileLoadedEvent.
streamTypeThe streamType value of FileLoadedEvent.
warningsThe 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.

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

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

See Also