CB-7282 Document AutoHideSplashScreenpreference
This commit is contained in:
parent
f4a92d21ff
commit
5aff6590f8
22
README.md
22
README.md
@ -39,11 +39,22 @@ This plugin displays and hides a splash screen during application launch.
|
|||||||
- Windows
|
- Windows
|
||||||
- Browser
|
- Browser
|
||||||
|
|
||||||
|
## Preferences
|
||||||
|
|
||||||
## Methods
|
#### config.xml
|
||||||
|
|
||||||
|
- __SplashScreen__ (string). The resource name which is used for the displaying splash screen. Different platforms use values for this.
|
||||||
|
|
||||||
|
<preference name="SplashScreen" value="resourcename" />
|
||||||
|
|
||||||
|
- __AutoHideSplashScreen__ (boolean, default to `true`). Indicates wherether hide splash screen automatically or not. Splash screen hidden after amount of time specified in the `SplashScreenDelay` preference.
|
||||||
|
|
||||||
|
<preference name="AutoHideSplashScreen" value="true" />
|
||||||
|
|
||||||
|
- __SplashScreenDelay__ (number, default to 10000). Amount of time in milliseconds to wait before automatically hide splash screen.
|
||||||
|
|
||||||
|
<preference name="SplashScreenDelay" value="resourcename" />
|
||||||
|
|
||||||
- splashscreen.show
|
|
||||||
- splashscreen.hide
|
|
||||||
|
|
||||||
### Android Quirks
|
### Android Quirks
|
||||||
|
|
||||||
@ -92,6 +103,11 @@ You can use the following preferences in your `config.xml`:
|
|||||||
|
|
||||||
<preference name="ShowSplashScreenSpinner" value="false"/>
|
<preference name="ShowSplashScreenSpinner" value="false"/>
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
- splashscreen.show
|
||||||
|
- splashscreen.hide
|
||||||
|
|
||||||
## splashscreen.hide
|
## splashscreen.hide
|
||||||
|
|
||||||
Dismiss the splash screen.
|
Dismiss the splash screen.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user