After many trials, Finally I got the solution for the above error, Instead of writing the Configuration in TS file , just right all the configuration in the HTML file directly thats all.
in service i set new var
private swipeEnabled = new BehaviorSubject(true);
and make a function to return it
swiper() {
return this.swipeEnabled;
}
in the super tabs
<super-tabs-container [swipeEnabled]=“swipeEnabled”>
config: any = {
allowElementScroll: true,
avoidElements: true
}
Note the “avoidElements” property. It tells Super Tabs to look and avoid elements with avoid-super-tabs attribute.
Now, on the element which scrolls alongside the super tab (ion-slides, or element with overflow-y: scroll for example), do: