mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-31 10:35:41 +08:00
CB-7977 Mention deviceready in plugin docs
This commit is contained in:
parent
1e9d588101
commit
8685564ec1
@ -61,6 +61,14 @@ Add/edit these two attributes if not present. Set **"Status bar is initially hid
|
|||||||
|
|
||||||
Methods
|
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.overlaysWebView
|
||||||
- StatusBar.styleDefault
|
- StatusBar.styleDefault
|
||||||
|
Loading…
Reference in New Issue
Block a user