mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2026-04-27 00:00:06 +08:00
Added show() and hide() to StatusBar API
This commit is contained in:
@@ -57,6 +57,14 @@ StatusBar.backgroundColorByHexString = function(hexString) {
|
||||
exec(null, null, "StatusBar", "backgroundColorByHexString", [hexString]);
|
||||
}
|
||||
|
||||
StatusBar.hide = function() {
|
||||
exec(null, null, "StatusBar", "hide", []);
|
||||
}
|
||||
|
||||
StatusBar.show = function() {
|
||||
exec(null, null, "StatusBar", "show", []);
|
||||
}
|
||||
|
||||
StatusBar.isVisible = true;
|
||||
|
||||
module.exports = StatusBar;
|
||||
|
||||
Reference in New Issue
Block a user