Comments (1)
I found a solution.
- Enable scroll on tabs list put this line inside CSS:
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 :)
from ion-slide-box-tabs.
Related Issues (20)
- last tab label disappears but slide is present.
- Performance is poor when build into android app HOT 1
- how to init a slide on enter HOT 1
- Tabs below image HOT 1
- Ionic Loading no showing
- On iOS device/simulator tabs going offscreen are not scrollable or shown HOT 1
- Tab-indicator stop moving when used ng-repeat HOT 1
- Need sliding Tabs for Ionic 2
- Random titles order on Android
- Header above sliding tabs HOT 1
- how to make the tabs scrollable ?
- Error
- How to set tabs to bottom HOT 1
- How to update badge in ion-slide-tab-label?
- Scrolling bug
- A controller for each tab?
- Ion - list touch events in the tabs.
- Freeze headers on scroll in <ion-slide-box> HOT 5
- How use this in ionic2?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ion-slide-box-tabs.