chore(docs): setting up dgeni and circle CI

This commit is contained in:
perry
2016-01-25 16:20:36 -06:00
parent 262d52d3b9
commit ca82c358dc
63 changed files with 2666 additions and 36 deletions
+18
View File
@@ -4,6 +4,24 @@ declare var Promise;
declare var window;
/**
* Get geolocation data.
*
* @usage
* ```js
* Geolocation.getCurrentPosition().then((resp) => {
* //resp.coords.latitude
* //resp.coords.longitude
* })
*
* let watch = Geolocation.watchPosition();
* watch.source.subscribe((data) => {
* //data.coords.latitude
* //data.coords.longitude
* })
* ```
*/
@Plugin({
name: 'Geolocation',
plugin: 'cordova-plugin-geolocation',