Phonegap: Added StatusBar plugin interface

This commit is contained in:
Dick van den Brink
2014-08-06 10:35:48 +02:00
parent be09d45642
commit 0864d50b8c

View File

@@ -575,6 +575,21 @@ interface LocalStorage {
}
*/
interface StatusBar {
isVisible: boolean;
overlaysWebView(doOverlay: boolean): void;
styleDefault(): void;
styleLightContent(): void;
styleBlackTranslucent(): void;
styleBlackOpaque(): void;
backgroundColorByName(colorname: string): void;
backgroundColorByHexString(hexString: string): void;
hide(): void;
show(): void;
}
declare var StatusBar: StatusBar;
interface /*PhoneGapNavigator extends*/ Navigator {
accelerometer: Accelerometer;
camera: Camera;