Initial commit
This commit is contained in:
13
node_modules/embla-carousel/components/ResizeHandler.d.ts
generated
vendored
Normal file
13
node_modules/embla-carousel/components/ResizeHandler.d.ts
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import { AxisType } from './Axis';
|
||||
import { EmblaCarouselType } from './EmblaCarousel';
|
||||
import { EventHandlerType } from './EventHandler';
|
||||
import { NodeRectsType } from './NodeRects';
|
||||
import { WindowType } from './utils';
|
||||
type ResizeHandlerCallbackType = (emblaApi: EmblaCarouselType, entries: ResizeObserverEntry[]) => boolean | void;
|
||||
export type ResizeHandlerOptionType = boolean | ResizeHandlerCallbackType;
|
||||
export type ResizeHandlerType = {
|
||||
init: (emblaApi: EmblaCarouselType) => void;
|
||||
destroy: () => void;
|
||||
};
|
||||
export declare function ResizeHandler(container: HTMLElement, eventHandler: EventHandlerType, ownerWindow: WindowType, slides: HTMLElement[], axis: AxisType, watchResize: ResizeHandlerOptionType, nodeRects: NodeRectsType): ResizeHandlerType;
|
||||
export {};
|
||||
Reference in New Issue
Block a user