This commit is contained in:
Max Lynch
2015-11-28 16:17:04 -06:00
parent f7f1acb1b6
commit 33b56579b0
84 changed files with 691 additions and 80 deletions
+20
View File
@@ -0,0 +1,20 @@
import {wrap} from '../util';
let PLUGIN_REF = 'StatusBar';
export var StatusBar = {
// Metadata
name: 'StatusBar',
plugin: 'cordova-plugin-statusbar',
// Methods
overlaysWebView: wrap(PLUGIN_REF, 'overlaysWebView'),
styleDefault: wrap(PLUGIN_REF, 'styleDefault'),
styleLightContent: wrap(PLUGIN_REF, 'styleLightContent'),
styleBlackTranslucent: wrap(PLUGIN_REF, 'styleBlackTranslucent'),
styleBlackOpaque: wrap(PLUGIN_REF, 'styleBlackOpaque'),
backgroundColorByName: wrap(PLUGIN_REF, 'backgroundColorByName'),
backgroundColorByHexString: wrap(PLUGIN_REF, 'backgroundColorByHexString'),
hide: wrap(PLUGIN_REF, 'hide'),
show: wrap(PLUGIN_REF, 'show')
}