Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/components/SlidesToScroll.d.ts 491 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
  import { AxisType } from './Axis';
  import { NodeRectType } from './NodeRects';
  export type SlidesToScrollOptionType = 'auto' | number;
  export type SlidesToScrollType = {
      groupSlides: <Type>(array: Type[]) => Type[][];
  };
  export declare function SlidesToScroll(axis: AxisType, viewSize: number, slidesToScroll: SlidesToScrollOptionType, loop: boolean, containerRect: NodeRectType, slideRects: NodeRectType[], startGap: number, endGap: number, pixelTolerance: number): SlidesToScrollType;