From 9c8259f65990951d3b778dcada5829b91519e649 Mon Sep 17 00:00:00 2001 From: Abdelaziz Bennouna Date: Thu, 1 Dec 2016 14:36:56 +0000 Subject: [PATCH] Update camera.ts Fixes cameraDirection values DOC. Maybe doc should link also to os-specific quirks, e.g. https://github.com/apache/cordova-plugin-camera#module_Camera.Direction for cameraDirection? --- src/plugins/camera.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/camera.ts b/src/plugins/camera.ts index dcca08ab..fd7e4d89 100644 --- a/src/plugins/camera.ts +++ b/src/plugins/camera.ts @@ -56,8 +56,8 @@ export interface CameraOptions { /** * Choose the camera to use (front- or back-facing). * Defined in Camera.Direction. Default is BACK. - * FRONT: 0 - * BACK: 1 + * BACK: 0 + * FRONT: 1 */ cameraDirection?: number; /** iOS-only options that specify popover location in iPad. Defined in CameraPopoverOptions. */