Closed savkelita closed 7 years ago
I found a solution.
ion-scroll{
overflow: auto !important;
}
2. Example:
View:
<ion-slide-box on-slide-changed="slideChanged(index)" slide-tabs-scrollable="true" show-pager="false" ion-slide-tabs>
<ion-slide ion-slide-tab-label="News">
<div ng-include src="'templates/news.html'"></div>
</ion-slide>
</ion-slide-box>
Controller:
$scope.slideChanged = function(slideNum) { switch (slideNum) { case 0: console.log("CASE 0"); break; case 1: console.log("CASE 1"); break; case 2: console.log("CASE 2"); break; } };
Happy coding :)
First of all excellent work!
Question 1: Is it possible to active scroll (menu tabs) on android devices or they can only be static? Question 2: How to call a controller when the tab is changed? Because i have a different views.
Thanks!