NappAppearance icon indicating copy to clipboard operation
NappAppearance copied to clipboard

Globally Set NavBarColor in function

Open justadaniel opened this issue 10 years ago • 1 comments

Hi, I was wondering, is there an easy way to globally set the Navigation Bar barColor and/or tintColor in a function?

Example:

button.addEventListener('click', function() {
        NappAppearance.setGlobalStyling({
                navBar: {
                        barColor:'#ff0000',
                        tintColor:'#ffffff'
                }
        });
});

justadaniel avatar Nov 16 '13 00:11 justadaniel