mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
|
||||
/**
|
||||
* @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.
|
||||
@@ -23,27 +22,23 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
plugin: 'cordova-plugin-splashscreen',
|
||||
pluginRef: 'navigator.splashscreen',
|
||||
repo: 'https://github.com/apache/cordova-plugin-splashscreen',
|
||||
platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Windows']
|
||||
platforms: ['Amazon Fire OS', 'Android', 'iOS', 'Windows'],
|
||||
})
|
||||
@Injectable()
|
||||
export class SplashScreen extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Shows the splashscreen
|
||||
*/
|
||||
@Cordova({
|
||||
sync: true
|
||||
sync: true,
|
||||
})
|
||||
show(): void {
|
||||
}
|
||||
show(): void {}
|
||||
|
||||
/**
|
||||
* Hides the splashscreen
|
||||
*/
|
||||
@Cordova({
|
||||
sync: true
|
||||
sync: true,
|
||||
})
|
||||
hide(): void {
|
||||
}
|
||||
|
||||
hide(): void {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user