UNPKG

@ionic-native/splash-screen

Version:

Ionic Native - Native plugins for ionic apps

28 lines (23 loc) 1.11 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var tslib = require('tslib'); var core$1 = require('@angular/core'); var core = require('@ionic-native/core'); var SplashScreen = /** @class */ (function (_super) { tslib.__extends(SplashScreen, _super); function SplashScreen() { return _super !== null && _super.apply(this, arguments) || this; } SplashScreen.prototype.show = function () { return core.cordova(this, "show", { "sync": true }, arguments); }; SplashScreen.prototype.hide = function () { return core.cordova(this, "hide", { "sync": true }, arguments); }; SplashScreen.pluginName = "SplashScreen"; SplashScreen.plugin = "cordova-plugin-splashscreen"; SplashScreen.pluginRef = "navigator.splashscreen"; SplashScreen.repo = "https://github.com/apache/cordova-plugin-splashscreen"; SplashScreen.platforms = ["Amazon Fire OS", "Android", "iOS", "Windows"]; SplashScreen.decorators = [ { type: core$1.Injectable } ]; return SplashScreen; }(core.IonicNativePlugin)); exports.SplashScreen = SplashScreen;