Blame view

天文台pc/tianwentai-ui/node_modules/embla-carousel/components/Engine.d.ts 2.55 KB
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  import { AnimationsType } from './Animations';
  import { AxisType } from './Axis';
  import { CounterType } from './Counter';
  import { DragHandlerType } from './DragHandler';
  import { EventHandlerType } from './EventHandler';
  import { EventStoreType } from './EventStore';
  import { LimitType } from './Limit';
  import { NodeRectType } from './NodeRects';
  import { OptionsType } from './Options';
  import { PercentOfViewType } from './PercentOfView';
  import { ResizeHandlerType } from './ResizeHandler';
  import { ScrollBodyType } from './ScrollBody';
  import { ScrollBoundsType } from './ScrollBounds';
  import { ScrollLooperType } from './ScrollLooper';
  import { ScrollProgressType } from './ScrollProgress';
  import { SlideRegistryType } from './SlideRegistry';
  import { ScrollTargetType } from './ScrollTarget';
  import { ScrollToType } from './ScrollTo';
  import { SlideFocusType } from './SlideFocus';
  import { SlideLooperType } from './SlideLooper';
  import { SlidesHandlerType } from './SlidesHandler';
  import { SlidesInViewType } from './SlidesInView';
  import { SlidesToScrollType } from './SlidesToScroll';
  import { TranslateType } from './Translate';
  import { WindowType } from './utils';
  import { Vector1DType } from './Vector1d';
  export type EngineType = {
      ownerDocument: Document;
      ownerWindow: WindowType;
      eventHandler: EventHandlerType;
      axis: AxisType;
      animation: AnimationsType;
      scrollBounds: ScrollBoundsType;
      scrollLooper: ScrollLooperType;
      scrollProgress: ScrollProgressType;
      index: CounterType;
      indexPrevious: CounterType;
      limit: LimitType;
      location: Vector1DType;
      offsetLocation: Vector1DType;
      previousLocation: Vector1DType;
      options: OptionsType;
      percentOfView: PercentOfViewType;
      scrollBody: ScrollBodyType;
      dragHandler: DragHandlerType;
      eventStore: EventStoreType;
      slideLooper: SlideLooperType;
      slidesInView: SlidesInViewType;
      slidesToScroll: SlidesToScrollType;
      target: Vector1DType;
      translate: TranslateType;
      resizeHandler: ResizeHandlerType;
      slidesHandler: SlidesHandlerType;
      scrollTo: ScrollToType;
      scrollTarget: ScrollTargetType;
      scrollSnapList: number[];
      scrollSnaps: number[];
      slideIndexes: number[];
      slideFocus: SlideFocusType;
      slideRegistry: SlideRegistryType['slideRegistry'];
      containerRect: NodeRectType;
      slideRects: NodeRectType[];
  };
  export declare function Engine(root: HTMLElement, container: HTMLElement, slides: HTMLElement[], ownerDocument: Document, ownerWindow: WindowType, options: OptionsType, eventHandler: EventHandlerType): EngineType;