Ionic : Hybrid Mobile App Development by Rahat Khanna & Sani Yusuf & Hoc Phan

Ionic : Hybrid Mobile App Development by Rahat Khanna & Sani Yusuf & Hoc Phan

Author:Rahat Khanna & Sani Yusuf & Hoc Phan [Khanna, Rahat]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2017-06-14T04:00:00+00:00


You can see that header now takes the color of the hex code we provided in the ionic.app.scss file. We can override any default file with this file. All you need to do is have a glance through the lib/ionic/scss folder, identify the SCSS rule you want to override, and override in ionic.app.scss.

With this done, we have completed the process of learning how to override and set up SCSS of our Ionic app. The next step is to learn about $ionicConfigProvider.

$ionicConfigProvider

$ionicConfigProvider is a provider that Ionic exposes and which allows us to do some very powerful configurations. We will not be writing any code for this as it is an advanced feature but you should be well aware of its existence.

Some of the features that $ionicConfigProvider lets you do, include the following:

Specify the transition type for your app

Set the maximum cache

Disable/enable animations

Enable/enable native scrolling

Specify tabs positions



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.