Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49230

Status bar color on a specific page

$
0
0

@alizeegtd wrote:

I’d like to set a general setting for status bar color and a specific color for one particular page of the app.
How can I do this without having to set the color in each page separately?

In app.component.ts I’m setting the general color

statusBar.styleLightContent();
statusBar.backgroundColorByHexString("#80D4FF");

If I set a specific color in my page.ts the app will then keeps this last setting because app.component.ts is only called once.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49230

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>