apex4x
Version:
The Comprehensive ARIA Development Suite
23 lines (20 loc) • 586 B
JavaScript
/*@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.extend({
setCarousel: function (config) {
var container = $A.morph(config.container),
dc = $A.toDC(container.parentNode),
TS = $A.tns(config);
dc.tns = TS;
return dc;
},
});
}
})();