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

    Interface OpenEvent

    Event that fires before model opens.

    interface OpenEvent {
        buffer?: ArrayBuffer | Uint8Array<ArrayBufferLike>;
        file?: Model | File | Assembly;
        model?: Model | File | Assembly;
        type: "open";
    }
    Index

    Properties

    buffer?: ArrayBuffer | Uint8Array<ArrayBufferLike>

    Buffer to open. Only defined when loading a local file.

    file?: Model | File | Assembly

    File instance to open. Only defined when loading a file from the server.

    model?: Model | File | Assembly

    Deprecated since 25.3. Use file instead.

    type: "open"

    Event type.