diff --git a/projects/lib/package.json b/projects/lib/package.json index 55aa788..78078b4 100644 --- a/projects/lib/package.json +++ b/projects/lib/package.json @@ -2,7 +2,7 @@ "name": "ngx-swiper-wrapper", "description": "Angular wrapper library for Swiper", "bugs": "https://github.com/zefoy/ngx-swiper-wrapper/issues", - "version": "9.0.0", + "version": "9.0.1", "license": "MIT", "repository": { "type": "git", diff --git a/projects/lib/src/lib/swiper.component.ts b/projects/lib/src/lib/swiper.component.ts index 5b4eeaf..69b2ef9 100644 --- a/projects/lib/src/lib/swiper.component.ts +++ b/projects/lib/src/lib/swiper.component.ts @@ -65,6 +65,9 @@ export class SwiperComponent implements AfterViewInit, OnDestroy { @Output('afterResize' ) S_AFTERRESIZE = new EventEmitter(); @Output('beforeResize' ) S_BEFORERESIZE = new EventEmitter(); + @Output('beforeLoopFix' ) S_BEFORELOOPFIX = new EventEmitter(); + @Output('loopFix' ) S_LOOPFIX = new EventEmitter(); + @Output('sliderMove' ) S_SLIDERMOVE = new EventEmitter(); @Output('slideChange' ) S_SLIDECHANGE = new EventEmitter(); @@ -112,9 +115,6 @@ export class SwiperComponent implements AfterViewInit, OnDestroy { @Output('slideChangeTransitionEnd' ) S_SLIDECHANGETRANSITIONEND = new EventEmitter(); @Output('slideChangeTransitionStart' ) S_SLIDECHANGETRANSITIONSTART = new EventEmitter(); - @Output('beforeLoopFix' ) S_BEFORELOOPFIX = new EventEmitter(); - @Output('loopFix' ) S_LOOPFIX = new EventEmitter(); - constructor(private zone: NgZone, private cdRef: ChangeDetectorRef, @Inject(PLATFORM_ID) private platformId: Object, @Optional() @Inject(SWIPER_CONFIG) private defaults: SwiperConfigInterface) {} diff --git a/projects/lib/src/lib/swiper.directive.ts b/projects/lib/src/lib/swiper.directive.ts index f2539d3..307f002 100644 --- a/projects/lib/src/lib/swiper.directive.ts +++ b/projects/lib/src/lib/swiper.directive.ts @@ -48,6 +48,9 @@ export class SwiperDirective implements AfterViewInit, OnDestroy, DoCheck, OnCha @Output('afterResize' ) S_AFTERRESIZE = new EventEmitter(); @Output('beforeResize' ) S_BEFORERESIZE = new EventEmitter(); + @Output('loopFix' ) S_LOOPFIX = new EventEmitter(); + @Output('beforeLoopFix' ) S_BEFORELOOPFIX = new EventEmitter(); + @Output('sliderMove' ) S_SLIDERMOVE = new EventEmitter(); @Output('slideChange' ) S_SLIDECHANGE = new EventEmitter(); @@ -94,9 +97,6 @@ export class SwiperDirective implements AfterViewInit, OnDestroy, DoCheck, OnCha @Output('slideNextTransitionStart' ) S_SLIDENEXTTRANSITIONSTART = new EventEmitter(); @Output('slideChangeTransitionEnd' ) S_SLIDECHANGETRANSITIONEND = new EventEmitter(); @Output('slideChangeTransitionStart' ) S_SLIDECHANGETRANSITIONSTART = new EventEmitter(); - - @Output('beforeLoopFix' ) S_BEFORELOOPFIX = new EventEmitter(); - @Output('loopFix' ) S_LOOPFIX = new EventEmitter(); constructor(@Inject(PLATFORM_ID) private platformId: Object, private zone: NgZone, private elementRef: ElementRef, private differs: KeyValueDiffers,