mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
Merge pull request #2634 from DickvdBrink/patch-7
Phonegap: Added StatusBar plugin interface
This commit is contained in:
Vendored
+16
-1
@@ -1,6 +1,6 @@
|
||||
// Type definitions for PhoneGap 2.3
|
||||
// Project: http://phonegap.com
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
|
||||
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Dick van den Brink <https://github.com/DickvdBrink>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface GeolocationError {
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user