配置
小于 1 分钟
插件选项
selector
- 类型:
string
- 默认值:
"[vp-content] :not(a) > img:not([no-view])"
图片选择器
plugins
- 类型:
string[]
- 默认值:
["pager", "share", "zoom"]
想要启用的 Light Gallery 插件。
可用插件
"autoplay"
: 自动播放"fullscreen"
: 全屏"pager"
: 分页"thumbnail"
: 缩略图"rotate"
: 旋转"share"
: 分享"zoom"
: 缩放
客户端配置
defineLightGalleryConfig
const defineLightGalleryConfig: (options: LightGallerySettings) => void;
传递给 lightgallery 的额外选项
更新日志
2025/2/23 18:52
查看所有更新日志
70692
-于ea175
-于056bb
-于32f93
-于fa09c
-于dcf34
-于772c5
-于4104e
-于1433d
-于0c093
-于f43a5
-于