Added show() and hide() to StatusBar API

This commit is contained in:
Shazron Abdullah
2013-10-14 16:47:38 -07:00
parent c2f13fe231
commit 7e42f7db49
3 changed files with 72 additions and 6 deletions
+8
View File
@@ -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;