mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2026-04-09 00:00:02 +08:00
Added ability to set statusbar background color by hex string.
This commit is contained in:
@@ -50,6 +50,10 @@ StatusBar.statusBarBackgroundColorByName = function(colorname) {
|
||||
exec(null, null, "StatusBar", "statusBarBackgroundColorByName", [colorname]);
|
||||
}
|
||||
|
||||
StatusBar.statusBarBackgroundColorByHexString = function(hexString) {
|
||||
exec(null, null, "StatusBar", "statusBarBackgroundColorByHexString", [hexString]);
|
||||
}
|
||||
|
||||
// TODO:
|
||||
StatusBar.isVisible = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user