Update docs with recent WP changes, remove 'clear' from the loist of named colors in documentation

This commit is contained in:
Jesse MacFadyen 2014-04-25 15:27:03 -07:00
parent 0b0e9d8fc5
commit 949b15eb09

View File

@ -114,6 +114,8 @@ Supported Platforms
------------------- -------------------
- iOS - iOS
- Windows Phone 7
- Windows Phone 8
StatusBar.styleLightContent StatusBar.styleLightContent
================= =================
@ -127,6 +129,8 @@ Supported Platforms
------------------- -------------------
- iOS - iOS
- Windows Phone 7
- Windows Phone 8
StatusBar.styleBlackTranslucent StatusBar.styleBlackTranslucent
================= =================
@ -140,6 +144,8 @@ Supported Platforms
------------------- -------------------
- iOS - iOS
- Windows Phone 7
- Windows Phone 8
StatusBar.styleBlackOpaque StatusBar.styleBlackOpaque
================= =================
@ -153,6 +159,8 @@ Supported Platforms
------------------- -------------------
- iOS - iOS
- Windows Phone 7
- Windows Phone 8
StatusBar.backgroundColorByName StatusBar.backgroundColorByName
@ -164,26 +172,37 @@ On iOS 7, when you set StatusBar.statusBarOverlaysWebView to false, you can set
Supported color names are: Supported color names are:
black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown, clear black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown
Supported Platforms Supported Platforms
------------------- -------------------
- iOS - iOS
- Windows Phone 7
- Windows Phone 8
StatusBar.backgroundColorByHexString StatusBar.backgroundColorByHexString
================= =================
On iOS 7, when you set StatusBar.statusBarOverlaysWebView to false, you can set the background color of the statusbar by a hex string (#RRGGBB). Sets the background color of the statusbar by a hex string.
StatusBar.backgroundColorByHexString("#C0C0C0"); StatusBar.backgroundColorByHexString("#C0C0C0");
CSS shorthand properties are also supported.
StatusBar.backgroundColorByHexString("#333"); // => #333333
StatusBar.backgroundColorByHexString("#FAB"); // => #FFAABB
On iOS 7, when you set StatusBar.statusBarOverlaysWebView to false, you can set the background color of the statusbar by a hex string (#RRGGBB).
On WP7 and WP8 you can also specify values as #AARRGGBB, where AA is an alpha value
Supported Platforms Supported Platforms
------------------- -------------------
- iOS - iOS
- Windows Phone 7
- Windows Phone 8
StatusBar.hide StatusBar.hide
================= =================
@ -198,6 +217,8 @@ Supported Platforms
- iOS - iOS
- Android - Android
- Windows Phone 7
- Windows Phone 8
StatusBar.show StatusBar.show
================= =================
@ -212,6 +233,8 @@ Supported Platforms
- iOS - iOS
- Android - Android
- Windows Phone 7
- Windows Phone 8
StatusBar.isVisible StatusBar.isVisible
@ -229,6 +252,8 @@ Supported Platforms
- iOS - iOS
- Android - Android
- Windows Phone 7
- Windows Phone 8