Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/esm/components/Axis.d.ts 543 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  import { NodeRectType } from './NodeRects.js';
  export type AxisOptionType = 'x' | 'y';
  export type AxisDirectionOptionType = 'ltr' | 'rtl';
  type AxisEdgeType = 'top' | 'right' | 'bottom' | 'left';
  export type AxisType = {
      scroll: AxisOptionType;
      cross: AxisOptionType;
      startEdge: AxisEdgeType;
      endEdge: AxisEdgeType;
      measureSize: (nodeRect: NodeRectType) => number;
      direction: (n: number) => number;
  };
  export declare function Axis(axis: AxisOptionType, contentDirection: AxisDirectionOptionType): AxisType;
  export {};