@supuwoerc/masonry
    Preparing search index...

    Interface GridItem

    网格项数据结构 Grid item data structure

    interface GridItem {
        height?: number;
        id: string;
        image: ImageBitmap | null;
        itemIndex: number;
        status: "loading" | "loaded";
        width?: number;
        x: number;
        y: number;
    }
    Index

    Properties

    height?: number

    渲染高度 | Rendered height

    id: string

    唯一标识符 | Unique identifier

    image: ImageBitmap | null

    图片位图数据 | Image bitmap data

    itemIndex: number

    在数据源中的索引 | Index in data source

    status: "loading" | "loaded"

    加载状态 | Loading status

    width?: number

    渲染宽度 | Rendered width

    x: number

    X 坐标(布局位置)| X coordinate (layout position)

    y: number

    Y 坐标(布局位置)| Y coordinate (layout position)