CB-7977 Mention deviceready in plugin docs

This commit is contained in:
Josh Soref 2014-11-06 17:16:06 -05:00
parent 1e9d588101
commit 8685564ec1

View File

@ -61,6 +61,14 @@ Add/edit these two attributes if not present. Set **"Status bar is initially hid
Methods
-------
This plugin defines global `StatusBar` object.
Although in the global scope, it is not available until after the `deviceready` event.
document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(StatusBar);
}
- StatusBar.overlaysWebView
- StatusBar.styleDefault