You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| position | front \| rear | Show front or rear camera when start the preview. Defaults to front |
99
-
| width | number | (optional) The preview width in pixels, default window.screen.width (applicable to the android and ios platforms only) |
100
-
| height | number | (optional) The preview height in pixels, default window.screen.height (applicable to the android and ios platforms only) |
101
-
| x | number | (optional) The x origin, default 0 (applicable to the android and ios platforms only) |
102
-
| y | number | (optional) The y origin, default 0 (applicable to the android and ios platforms only) |
99
+
| width | number (integer !)| (optional) The preview width in pixels, default window.screen.width (applicable to the android and ios platforms only) |
100
+
| height | number (integer !)| (optional) The preview height in pixels, default window.screen.height (applicable to the android and ios platforms only) |
101
+
| x | number (integer !)| (optional) The x origin, default 0 (applicable to the android and ios platforms only) |
102
+
| y | number (integer !)| (optional) The y origin, default 0 (applicable to the android and ios platforms only) |
103
103
| toBack | boolean | (optional) Brings your html in front of your preview, default false (applicable to the android and ios platforms only) |
104
104
| 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) |
105
105
| rotateWhenOrientationChanged | boolean | (optional) Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) |
0 commit comments