Merge pull request #59 from textbook/patch-1
Show import format and link to ionic-native
This commit is contained in:
commit
8eefec47dc
@ -89,10 +89,12 @@ export interface CameraPopoverOptions {
|
|||||||
* @description
|
* @description
|
||||||
* Take a photo or capture video.
|
* Take a photo or capture video.
|
||||||
*
|
*
|
||||||
* Requires Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera).
|
* Requires {@link module:driftyco/ionic-native} and the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera).
|
||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```js
|
* ```js
|
||||||
|
* import {Camera} from 'ionic-native';
|
||||||
|
*
|
||||||
* Camera.getPicture(options).then((imageData) => {
|
* Camera.getPicture(options).then((imageData) => {
|
||||||
* // imageData is either a base64 encoded string or a file URI
|
* // imageData is either a base64 encoded string or a file URI
|
||||||
* // If it's base64:
|
* // If it's base64:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user