UNPKG

apex4x

Version:

The Comprehensive ARIA Development Suite

30 lines (27 loc) 788 B
/*@license ARIA Carousel Module 1.1 for Apex 4X Author: Bryan Garaventa (https://www.linkedin.com/in/bgaraventa) Home: WhatSock.com : Download: https://github.com/whatsock/apex License: MIT (https://opensource.org/licenses/MIT) Required dependencies: TinySlider.css, TinySlider.js */ (function () { if (!("setCarousel" in $A)) { $A.import(["TinySlider.css", "TinySlider"], { name: "CarouselModule", once: true, props: props, call: function (props) { $A.extend({ setCarousel: function (config) { var container = $A.morph(config.container), dc = $A.toDC(container.parentNode), TS = $A.tns(config); dc.tns = TS; return dc; }, }); }, }); } })();