define(["require", "exports", "twbs/carousel"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var CarouselAbstractController = /** @class */ (function () {
        function CarouselAbstractController($element) {
            this.$element = $element;
        }
        CarouselAbstractController.prototype.initCarousel = function () {
            this.carouselElement = this.$element.find('.carousel');
            this.carouselElement.carousel({
                interval: false
            });
        };
        CarouselAbstractController.prototype.carouselPrev = function () {
            this.carouselElement.carousel('prev');
        };
        CarouselAbstractController.prototype.carouselNext = function () {
            this.carouselElement.carousel('next');
        };
        CarouselAbstractController.prototype.$onInit = function () {
            this.initCarousel();
        };
        return CarouselAbstractController;
    }());
    exports.CarouselAbstractController = CarouselAbstractController;
});
//# sourceMappingURL=carousel.abstract.controller.js.map