Skip to content

Commit a34b51e

Browse files
authored
Update readme for integer values (#382)
1 parent 2b7dbfd commit a34b51e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ Starts the camera preview instance.
9696
| Option | values | descriptions |
9797
| ---------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
9898
| 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) |
103103
| toBack | boolean | (optional) Brings your html in front of your preview, default false (applicable to the android and ios platforms only) |
104104
| 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) |
105105
| rotateWhenOrientationChanged | boolean | (optional) Rotate preview when orientation changes (applicable to the ios platforms only; default value is true) |

0 commit comments

Comments
 (0)