PluginsHandler.d.ts 419 B

12345678
  1. import { EmblaCarouselType } from './EmblaCarousel';
  2. import { OptionsHandlerType } from './OptionsHandler';
  3. import { EmblaPluginsType, EmblaPluginType } from './Plugins';
  4. export type PluginsHandlerType = {
  5. init: (emblaApi: EmblaCarouselType, plugins: EmblaPluginType[]) => EmblaPluginsType;
  6. destroy: () => void;
  7. };
  8. export declare function PluginsHandler(optionsHandler: OptionsHandlerType): PluginsHandlerType;