js: declare slider style gallery

This commit is contained in:
王劲鹏
2023-06-13 15:11:00 +08:00
committed by osborn
parent d92ce26248
commit e5e10e7abc
3 changed files with 11 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ export class Slider extends Superview {
* ZoomOut is currently supported
*/
@Property
slideStyle?: "zoomOut" | { type: "zoomOut", minScale: number, maxScale: number }
slideStyle?: "zoomOut" | { type: "zoomOut", minScale: number, maxScale: number } | { type: "gallery", itemWidth: number, minScale: number, minAlpha: number }
@InconsistProperty
slidePosition?: number