update docs statusbar.ts

It should be overlaysWebView
This commit is contained in:
James Cheuk 2016-04-15 18:20:41 +08:00
parent 94de6b43d9
commit c36fa0fa7f

View File

@ -74,7 +74,7 @@ export class StatusBar {
* Set the status bar to a specific named color. Valid options: * Set the status bar to a specific named color. Valid options:
* black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown. * black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown.
* *
* iOS note: you must call StatusBar.setOverlay(false) to enable color changing. * iOS note: you must call StatusBar.overlaysWebView(false) to enable color changing.
* *
* @param {string} colorName The name of the color (from above) * @param {string} colorName The name of the color (from above)
*/ */
@ -86,7 +86,7 @@ export class StatusBar {
/** /**
* Set the status bar to a specific hex color (CSS shorthand supported!). * Set the status bar to a specific hex color (CSS shorthand supported!).
* *
* iOS note: you must call StatusBar.setOverlay(false) to enable color changing. * iOS note: you must call StatusBar.overlaysWebView(false) to enable color changing.
* *
* @param {string} hexString The hex value of the color. * @param {string} hexString The hex value of the color.
*/ */