cfprabhu
cfprabhu

Reputation: 5352

How to fit the tabs in bottom on ionic1.0.0_beta.14

And here you can see the tabs are at the top. This is how tabs will look on an Android device by default.enter image description here

Upvotes: 2

Views: 74

Answers (1)

cfprabhu
cfprabhu

Reputation: 5352

As defined in the Ionic Tabs documentation and the related $IonicConfigProvider documentation it is possible to specify a tabs.position config item. This can be done as per this code extract.

angular.module('ionicApp', ['ionic'])
  .config(function($stateProvider, $urlRouterProvider, $ionicConfigProvider) {
  $ionicConfigProvider.tabs.position('bottom');

For more details: More detail about $ionicConfigProvider

Upvotes: 2

Related Questions