This plugin displays and hides a splash screen during application launch or can be used during reload actions.

Quick Example

showSplashScreen = function() { //will show splash screen for 3 seconds
  navigator.splashscreen.show();

  setTimeout(function() {
    navigator.splashscreen.hide();
  }, 3000);
};

Methods

  • splashscreen.show
  • splashscreen.hide

Quick Example

showSplashScreen = function() { //will show splash screen for 3 seconds
  navigator.splashscreen.show();
  
  setTimeout(function() {
    navigator.splashscreen.hide();
  }, 3000);
};

Source Documentation:

http://plugins.cordova.io/#/package/org.apache.cordova.splashscreen

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *