-
-
Notifications
You must be signed in to change notification settings - Fork 193
/
1485-14be7f107adeaf4e8bca.js.map
1 lines (1 loc) · 1.49 KB
/
1485-14be7f107adeaf4e8bca.js.map
1
{"version":3,"file":"1485-14be7f107adeaf4e8bca.js","mappings":"uIAAA,8tC","sources":["webpack://embla-carousel-docs/./src/components/Sandbox/Vanilla/SandboxFilesDist/Scale/EmblaCarousel.ts"],"sourcesContent":["export default \"import EmblaCarousel, { EmblaOptionsType } from 'embla-carousel'\\nimport { setupTweenScale } from './EmblaCarouselTweenScale'\\nimport { addDotBtnsAndClickHandlers } from '../EmblaCarouselDotButton'\\nimport { addPrevNextBtnsClickHandlers } from '../EmblaCarouselArrowButtons'\\nimport '../css/base.css'\\nimport '../css/sandbox.css'\\nimport '../css/embla.css'\\n\\nconst OPTIONS: EmblaOptionsType = {}\\n\\nconst emblaNode = <HTMLElement>document.querySelector('.embla')\\nconst viewportNode = <HTMLElement>emblaNode.querySelector('.embla__viewport')\\nconst prevBtn = <HTMLElement>emblaNode.querySelector('.embla__button--prev')\\nconst nextBtn = <HTMLElement>emblaNode.querySelector('.embla__button--next')\\nconst dotsNode = <HTMLElement>document.querySelector('.embla__dots')\\n\\nconst emblaApi = EmblaCarousel(viewportNode, OPTIONS)\\nconst removeTweenScale = setupTweenScale(emblaApi)\\n\\nconst removePrevNextBtnsClickHandlers = addPrevNextBtnsClickHandlers(\\n emblaApi,\\n prevBtn,\\n nextBtn\\n)\\nconst removeDotBtnsAndClickHandlers = addDotBtnsAndClickHandlers(\\n emblaApi,\\n dotsNode\\n)\\n\\nemblaApi\\n .on('destroy', removeTweenScale)\\n .on('destroy', removePrevNextBtnsClickHandlers)\\n .on('destroy', removeDotBtnsAndClickHandlers)\\n\";"],"names":[],"sourceRoot":""}