Camera
Camera component for mp
Example
bxml
json
- remark - supported jssdk >= 4.11.0
- remark - inorder to put other components behinds camera, camera component should set z-index to -1 and page background-color to transparent
#
PropsName | Type | Description | Default |
---|---|---|---|
resolution | `'low' | 'medium' | 'high'` |
device-position | `'front' | 'back'` | camera position, default back |
flash | `'auto' | 'on' | 'off' |