mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
added docs
This commit is contained in:
parent
cc267038e6
commit
6c485ed1f6
@ -7,6 +7,18 @@ import {CordovaInstance} from './plugin';
|
|||||||
declare var plugin: any;
|
declare var plugin: any;
|
||||||
/**
|
/**
|
||||||
* @name Google Maps
|
* @name Google Maps
|
||||||
|
* @description This plugin uses the native Google Maps SDK
|
||||||
|
* @usage
|
||||||
|
* ```
|
||||||
|
* import {GoogleMaps} from 'ionic-native';
|
||||||
|
*
|
||||||
|
* ...
|
||||||
|
*
|
||||||
|
* // somewhere in your component
|
||||||
|
* let map = new GoogleMaps('elementID');
|
||||||
|
*
|
||||||
|
* map.onInit().subscribe(() => console.log("Map is ready!"));
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
@Plugin({
|
@Plugin({
|
||||||
pluginRef: 'plugin.google.maps',
|
pluginRef: 'plugin.google.maps',
|
||||||
|
Loading…
Reference in New Issue
Block a user