mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
declare navigator to get rid of errors
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import {Plugin, Cordova, CordovaProperty} from './plugin';
|
import {Plugin, Cordova, CordovaProperty} from './plugin';
|
||||||
import {Observable} from 'rxjs/Rx';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
declare var navigator: any;
|
||||||
/**
|
/**
|
||||||
* @name Media Capture
|
* @name Media Capture
|
||||||
* @description
|
* @description
|
||||||
@@ -8,7 +9,7 @@ import {Observable} from 'rxjs/Rx';
|
|||||||
* import {MediaCapture} from 'ionic-native';
|
* import {MediaCapture} from 'ionic-native';
|
||||||
*
|
*
|
||||||
* ...
|
* ...
|
||||||
*
|
*
|
||||||
* let options: CaptureImageOptions = { limit: 3 };
|
* let options: CaptureImageOptions = { limit: 3 };
|
||||||
* MediaCapture.captureImage(options)
|
* MediaCapture.captureImage(options)
|
||||||
* .then(
|
* .then(
|
||||||
|
|||||||
Reference in New Issue
Block a user