@supuwoerc/masonry
    Preparing search index...

    Interface ScrollConfig

    滚动配置 Scroll configuration

    interface ScrollConfig {
        buffer?: number;
        disabled?: { horizontal?: boolean; vertical?: boolean };
        friction?: number;
        inertia?: boolean;
        loop?: boolean;
        threshold?: number;
    }
    Index

    Properties

    buffer?: number

    视口裁剪缓冲区倍数(上下各扩展 N 倍视口高度) Viewport culling buffer multiplier (extends N viewport heights above and below)

    1.0
    
    disabled?: { horizontal?: boolean; vertical?: boolean }

    禁用滚动方向 Disabled scroll directions

    friction?: number

    惯性滚动摩擦系数(0-1),值越大滑动越远 Inertia scrolling friction coefficient (0-1), higher value means longer slide

    0.95
    
    inertia?: boolean

    是否启用惯性滚动 Whether to enable inertia scrolling

    true
    
    loop?: boolean

    数据加载完毕后是否启用无缝循环滚动 Whether to enable seamless loop scrolling when all data is loaded

    true
    
    threshold?: number

    触发 loadMore 的距离阈值(px) Distance threshold to trigger loadMore (px)

    200