@supuwoerc/masonry
    Preparing search index...

    Interface ItemDescriptor

    图片资源描述符,用于通过 URL 加载图片 Image resource descriptor for loading images via URL

    interface ItemDescriptor {
        height?: number;
        url: string;
        width?: number;
    }
    Index

    Properties

    Properties

    height?: number

    图片原始高度(用于瀑布流布局计算宽高比) Original image height (used for aspect ratio calculation in masonry layout)

    url: string

    图片 URL 地址 Image URL address

    width?: number

    图片原始宽度(用于瀑布流布局计算宽高比) Original image width (used for aspect ratio calculation in masonry layout)