mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
Merge branch 'v3-injectable' into v3-injectable-ngc
This commit is contained in:
+2
-2
@@ -476,7 +476,7 @@ export class GoogleMapsObject {
|
||||
* GoogleMapsObject
|
||||
*/
|
||||
@Plugin({
|
||||
pluginName: 'GoogleMap',
|
||||
pluginName: 'GoogleMaps',
|
||||
pluginRef: 'plugin.google.maps.Map',
|
||||
plugin: 'cordova-plugin-googlemaps',
|
||||
repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps',
|
||||
@@ -484,7 +484,7 @@ export class GoogleMapsObject {
|
||||
installVariables: ['API_KEY_FOR_ANDROID', 'API_KEY_FOR_IOS']
|
||||
})
|
||||
@Injectable()
|
||||
export class GoogleMap {
|
||||
export class GoogleMaps {
|
||||
|
||||
/**
|
||||
* Creates a new GoogleMap instance
|
||||
+4
-4
@@ -3,11 +3,11 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
|
||||
|
||||
/**
|
||||
* @name Splashscreen
|
||||
* @name SplashScreen
|
||||
* @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
|
||||
* ```typescript
|
||||
* import { Splashscreen } from '@ionic-native/splash-screen';
|
||||
* import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
*
|
||||
*
|
||||
* Splashscreen.show();
|
||||
@@ -16,13 +16,13 @@ import { Cordova, Plugin } from '@ionic-native/core';
|
||||
* ```
|
||||
*/
|
||||
@Plugin({
|
||||
pluginName: 'Splashscreen',
|
||||
pluginName: 'SplashScreen',
|
||||
plugin: 'cordova-plugin-splashscreen',
|
||||
pluginRef: 'navigator.splashscreen',
|
||||
repo: 'https://github.com/apache/cordova-plugin-splashscreen'
|
||||
})
|
||||
@Injectable()
|
||||
export class Splashscreen {
|
||||
export class SplashScreen {
|
||||
|
||||
/**
|
||||
* Shows the splashscreen
|
||||
Reference in New Issue
Block a user