Skip to content

Commit

Permalink
fix(camera-preview): add missing tapToFocus camera option (#2046)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Ramos authored and ihadeed committed Dec 8, 2017
1 parent 6053296 commit b9b781d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/@ionic-native/plugins/camera-preview/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b9b781d

Please sign in to comment.