@supuwoerc/masonry
    Preparing search index...

    Interface MasonryConfiguration

    Masonry 完整配置接口 Complete Masonry configuration interface

    interface MasonryConfiguration {
        core: Core;
        events?: {
            onError?: (err: unknown) => void;
            onReady?: (instance: Masonry) => void;
        };
        imageLoad?: ImageLoadConfig;
        interaction?: Interaction;
        loader?: LoadMoreConfig;
        placeholderRenderer?: PlaceholderRenderer;
    }
    Index

    Properties

    core: Core

    核心配置 | Core configuration

    events?: {
        onError?: (err: unknown) => void;
        onReady?: (instance: Masonry) => void;
    }

    事件回调 | Event callbacks

    Type Declaration

    • OptionalonError?: (err: unknown) => void

      错误回调 | Error callback

    • OptionalonReady?: (instance: Masonry) => void

      实例就绪回调 | Instance ready callback

    imageLoad?: ImageLoadConfig

    图片加载配置 | Image loading configuration

    interaction?: Interaction

    交互配置 | Interaction configuration

    无限滚动加载配置 | Infinite scroll loader configuration

    placeholderRenderer?: PlaceholderRenderer

    占位符渲染器 | Placeholder renderer