@inweb/client
    Preparing search index...

    Interface UploadProgressEvent

    An event measuring progress of an file uploading process.

    interface UploadProgressEvent {
        data: number;
        file: File;
        type: "uploadprogress";
    }
    Index

    Properties

    Properties

    data: number

    The non-rounded progress value from 0 to 1. To get a percentage (%), multiply the data by 100.

    file: File

    Web API File object to upload.

    type: "uploadprogress"

    Event type.