UNPKG

ngx-bootstrap

Version:
30 lines 1.35 kB
import { Injectable } from '@angular/core'; import * as i0 from "@angular/core"; export class CarouselConfig { constructor() { /* Default interval of auto changing of slides */ this.interval = 5000; /* Is loop of auto changing of slides can be paused */ this.noPause = false; /* Is slides can wrap from the last to the first slide */ this.noWrap = false; /* Show carousel-indicators */ this.showIndicators = true; /* Slides can be paused on focus */ this.pauseOnFocus = false; /* If `true` - carousel indicators indicate slides chunks works ONLY if singleSlideOffset = FALSE */ this.indicatorsByChunk = false; /* If value more then 1 — carousel works in multilist mode */ this.itemsPerSlide = 1; /* If `true` — carousel shifts by one element. By default carousel shifts by number of visible elements (itemsPerSlide field) */ this.singleSlideOffset = false; } } CarouselConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function CarouselConfig_Factory() { return new CarouselConfig(); }, token: CarouselConfig, providedIn: "root" }); CarouselConfig.decorators = [ { type: Injectable, args: [{ providedIn: 'root' },] } ]; //# sourceMappingURL=carousel.config.js.map