Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/cjs/components/ScrollBounds.d.ts 526 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
  import { LimitType } from './Limit';
  import { ScrollBodyType } from './ScrollBody';
  import { Vector1DType } from './Vector1d';
  import { PercentOfViewType } from './PercentOfView';
  export type ScrollBoundsType = {
      shouldConstrain: () => boolean;
      constrain: (pointerDown: boolean) => void;
      toggleActive: (active: boolean) => void;
  };
  export declare function ScrollBounds(limit: LimitType, location: Vector1DType, target: Vector1DType, scrollBody: ScrollBodyType, percentOfView: PercentOfViewType): ScrollBoundsType;