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