1 | import { Injectable } from '@angular/core';
|
2 | import * as i0 from "@angular/core";
|
3 | export class CarouselConfig {
|
4 | constructor() {
|
5 | /* Default interval of auto changing of slides */
|
6 | this.interval = 5000;
|
7 | /* Is loop of auto changing of slides can be paused */
|
8 | this.noPause = false;
|
9 | /* Is slides can wrap from the last to the first slide */
|
10 | this.noWrap = false;
|
11 | /* Show carousel-indicators */
|
12 | this.showIndicators = true;
|
13 | /* Slides can be paused on focus */
|
14 | this.pauseOnFocus = false;
|
15 | /* If `true` - carousel indicators indicate slides chunks works ONLY if singleSlideOffset = FALSE */
|
16 | this.indicatorsByChunk = false;
|
17 | /* If value more then 1 — carousel works in multilist mode */
|
18 | this.itemsPerSlide = 1;
|
19 | /* If `true` — carousel shifts by one element. By default carousel shifts by number
|
20 | of visible elements (itemsPerSlide field) */
|
21 | this.singleSlideOffset = false;
|
22 | }
|
23 | }
|
24 | CarouselConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function CarouselConfig_Factory() { return new CarouselConfig(); }, token: CarouselConfig, providedIn: "root" });
|
25 | CarouselConfig.decorators = [
|
26 | { type: Injectable, args: [{
|
27 | providedIn: 'root'
|
28 | },] }
|
29 | ];
|
30 | //# sourceMappingURL=carousel.config.js.map |
\ | No newline at end of file |