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