formcycle 8.3.6 - JavaScript for forms
    Preparing search index...

    Describes the ratio of a pending AJAX upload.

    interface UploadRatio {
        bytesTotal: number;
        bytesUploaded: number;
        ratio: number;
    }
    Index

    Properties

    bytesTotal: number

    The total number of bytes that need to be uploaded.

    bytesUploaded: number

    The number of bytes that were already upload.

    ratio: number

    The current ratio, in the interval [0, 1]. The relation ratio = bytesUploaded / bytesTotal holds, up to floating point precision.