Skip to content

Commit 3553c41

Browse files
authored
feat(angular): support on params (#5224)
1 parent 3caf40d commit 3553c41

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/angular/src/swiper.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import { isPlatformBrowser } from '@angular/common';
5454
})
5555
export class SwiperComponent implements OnInit {
5656
@Input() enabled: SwiperOptions['enabled'];
57+
@Input() on: SwiperOptions['on'];
5758
@Input() direction: SwiperOptions['direction'];
5859
@Input() touchEventsTarget: SwiperOptions['touchEventsTarget'];
5960
@Input() initialSlide: SwiperOptions['initialSlide'];

src/angular/src/utils/params-list.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,5 @@ export const paramsList = [
112112
'_thumbs',
113113
'virtual',
114114
'zoom',
115+
'on',
115116
];

0 commit comments

Comments
 (0)