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
+15
View File
@@ -1,5 +1,20 @@
import {Plugin, Cordova} from './plugin';
/**
* 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).
*
* @usage
* ```js
* Camera.getPicture(options).then((imageData) => {
* // imageData is either a base64 encoded string or a file URI
* // If it's base64:
* let base64Image = "data:image/jpeg;base64," + imageData;
* }, (err) => {
* });
* ```
*/
@Plugin({
name: 'Camera',
plugin: 'cordova-plugin-camera',