Skip to content

Commit

Permalink
feat(angular): support on params (#5224)
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky authored Nov 24, 2021
1 parent 3caf40d commit 3553c41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/angular/src/swiper.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import { isPlatformBrowser } from '@angular/common';
})
export class SwiperComponent implements OnInit {
@Input() enabled: SwiperOptions['enabled'];
@Input() on: SwiperOptions['on'];
@Input() direction: SwiperOptions['direction'];
@Input() touchEventsTarget: SwiperOptions['touchEventsTarget'];
@Input() initialSlide: SwiperOptions['initialSlide'];
Expand Down
1 change: 1 addition & 0 deletions src/angular/src/utils/params-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,5 @@ export const paramsList = [
'_thumbs',
'virtual',
'zoom',
'on',
];

0 comments on commit 3553c41

Please sign in to comment.