@inweb/viewer-visualize
    Preparing search index...

    Interface InitializeProgressEvent

    Event that measures the progress of the viewer's initialization.

    interface InitializeProgressEvent {
        data: number;
        loaded: number;
        total: number;
        type: "initializeprogress";
    }
    Index

    Properties

    Properties

    data: number

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

    loaded: number

    A 64-bit unsigned integer value indicating the amount of work already performed by the underlying process. The ratio of work done can be calculated by dividing total by the value of this property.

    total: number

    A 64-bit unsigned integer representing the total amount of work that the underlying process is in the progress of performing.

    type: "initializeprogress"

    Event type.