@capacitor-community/camera-preview
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -12,6 +12,10 @@ declare module "@capacitor/core" { | ||
className?: string; | ||
/** The preview width in pixels, default window.screen.width */ | ||
/** The preview width in pixels, default window.screen.width (applicable to the android and ios platforms only) */ | ||
width?: number; | ||
/** The preview height in pixels, default window.screen.height */ | ||
/** The preview height in pixels, default window.screen.height (applicable to the android and ios platforms only) */ | ||
height?: number; | ||
/** The preview bottom padding in pixes. Useful to keep the appropriate preview sizes when orientation changes (applicable to the android and ios platforms only) */ | ||
paddingBottom?: number; | ||
/** Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) */ | ||
rotateWhenOrientationChanged?: boolean; | ||
/** Choose the camera to use 'front' or 'rear', default 'front' */ | ||
@@ -18,0 +22,0 @@ position?: CameraPosition | string; |
{ | ||
"name": "@capacitor-community/camera-preview", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Camera preview", | ||
@@ -27,3 +27,3 @@ "main": "dist/esm/index.js", | ||
"android/", | ||
"CapacitorCameraPreview.podspec" | ||
"CapacitorCommunityCameraPreview.podspec" | ||
], | ||
@@ -30,0 +30,0 @@ "keywords": [ |
@@ -94,4 +94,6 @@ # Capacitor Camera Preview | ||
| position | front \| rear | Show front or rear camera when start the preview. Defaults to front | | ||
| width | number | (optional) The preview width in pixels, default window.screen.width | | ||
| height | number | (optional) The preview height in pixels, default window.screen.height | | ||
| width | number | (optional) The preview width in pixels, default window.screen.width (applicable to the android and ios platforms only) | | ||
| height | number | (optional) The preview height in pixels, default window.screen.height (applicable to the android and ios platforms only) | | ||
| paddingBottom | number | (optional) The preview bottom padding in pixes. Useful to keep the appropriate preview sizes when orientation changes (applicable to the android and ios platforms only) | | ||
| rotateWhenOrientationChanged | boolean | (optional) Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) | | ||
@@ -98,0 +100,0 @@ <!-- <strong>Options:</strong> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290994
55
151
362