diff --git a/doc/index.md b/doc/index.md index b766a77..9fb9504 100644 --- a/doc/index.md +++ b/doc/index.md @@ -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