Search docs/

Splashscreen

v5.0.2

Contents

Installation

After following the one-time setup steps, simply install the plugin:

Cordova:ionic cordova plugin add @ionic-enterprise/splashscreen Capacitor:npm install @ionic-enterprise/splashscreen npx cap sync

Index

Classes


Classes

SplashScreen

SplashScreen:

name: Splash Screen

description: This plugin displays and hides a splash screen during application launch. The methods below allows showing and hiding the splashscreen after the app has loaded.

usage:

import { SplashScreen } from '@ionic-enterprise/splashscreen/ngx';

constructor(private splashScreen: SplashScreen) { }

...

this.splashScreen.show();

this.splashScreen.hide();

hide

hide(): void

Hides the splashscreen

Returns: void


show

show(): void

Shows the splashscreen

Returns: void



Other Versions