From b9b781ddee0132f03d1c3f92f2104180510e6986 Mon Sep 17 00:00:00 2001 From: Victor Ramos Date: Fri, 8 Dec 2017 14:05:59 -0600 Subject: [PATCH] fix(camera-preview): add missing `tapToFocus` camera option (#2046) --- src/@ionic-native/plugins/camera-preview/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/@ionic-native/plugins/camera-preview/index.ts b/src/@ionic-native/plugins/camera-preview/index.ts index 0700fbe94..4545d9635 100644 --- a/src/@ionic-native/plugins/camera-preview/index.ts +++ b/src/@ionic-native/plugins/camera-preview/index.ts @@ -36,6 +36,9 @@ export interface CameraPreviewOptions { /** Alpha channel of the preview box, float, [0,1], default 1 */ alpha?: number; + + /** Tap to set specific focus point. Note, this assumes the camera is full-screen. default false */ + tapToFocus?: boolean; } export interface CameraPreviewPictureOptions {