From 00e68ca990a213e5ab1f41ca484b88538ea2caa3 Mon Sep 17 00:00:00 2001 From: Wyatt Arent Date: Mon, 28 Nov 2016 02:24:23 -0700 Subject: [PATCH] docs(camera-preview): add missing param (#830) * Update camera-preview.ts This missing parameter would cause TS to spew * Update camera-preview.ts Sending preview to back is initially confusing and causes it to appear to not work. --- src/plugins/camera-preview.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/camera-preview.ts b/src/plugins/camera-preview.ts index 36ce987e..53171e1a 100644 --- a/src/plugins/camera-preview.ts +++ b/src/plugins/camera-preview.ts @@ -40,7 +40,8 @@ export interface CameraPreviewSize { * 'front', // default camera * true, // tap to take picture * false, // disable drag - * true // send the preview to the back of the screen so we can add overlaying elements + * false, // Keep preview in front. Set to false (back of the screen) to apply overlaying elements + * 1 // set the preview alpha * ); * * // Set the handler to run every time we take a picture