W-CF Documentation - v11.0.0
    Preparing search index...

    Interface AppDocumentLoadOptions

    interface AppDocumentLoadOptions {
        onProgress?: ProgressCallback;
        onValidateDocument?: (
            pDocHeader: DocumentHeader,
            pAppData: GroupedMap,
        ) => Promise<void>;
    }
    Index
    onProgress?: ProgressCallback

    Callback for progress handling.

    onValidateDocument?: (
        pDocHeader: DocumentHeader,
        pAppData: GroupedMap,
    ) => Promise<void>

    Callback for document validation. Will be called in the beginning of the load process to allow custom document validation. The promise should be rejected if the document is not valid. In this case the loading will be aborted.