Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/components/ScrollSnaps.d.ts 452 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
  import { AlignmentType } from './Alignment';
  import { AxisType } from './Axis';
  import { NodeRectType } from './NodeRects';
  import { SlidesToScrollType } from './SlidesToScroll';
  export type ScrollSnapsType = {
      snaps: number[];
      snapsAligned: number[];
  };
  export declare function ScrollSnaps(axis: AxisType, alignment: AlignmentType, containerRect: NodeRectType, slideRects: NodeRectType[], slidesToScroll: SlidesToScrollType): ScrollSnapsType;