Hiyve Components - v1.0.0
    Preparing search index...

    Interface LoadCanvasResult

    Result of a canvas load. droppedCount is non-zero when the loader had to salvage the input (skip invalid objects). Consumers can use that signal to trigger a clean re-save so the file on disk no longer contains bad objects.

    interface LoadCanvasResult {
        degraded?: boolean;
        droppedCount: number;
        timedOut?: boolean;
    }
    Index

    Properties

    degraded?: boolean

    The full payload could not be loaded and a reduced form was used (image objects stripped, or an empty canvas as the last resort). Callers must NOT auto-save this state over the stored file — the stored content is richer than what is on screen.

    droppedCount: number
    timedOut?: boolean

    The load did not complete within the time budget. The canvas may still populate when the in-flight load settles. Callers must NOT treat the current canvas state as authoritative — in particular, must not auto-save over the stored file.