core
    正在准备搜索索引...

    接口 ViewImagesData

    interface ViewImagesData {
        activeIndex?: number;
        items: ImageItem[];
        onLongPress?: (index: number) => void;
    }
    索引
    activeIndex?: number

    items 中从 0 开始的初始可见图片序号

    0
    
    items: ImageItem[]

    图片组

    onLongPress?: (index: number) => void

    当长按图片时触发

    类型声明

      • (index: number): void
      • 参数

        • index: number

          长按 items 中从 0 开始的的图片序号

        返回 void