mirror of
https://github.com/VinceG/vue-web-cam.git
synced 2025-12-20 12:19:31 -06:00
Update capture return type documentation
Describing the return type of capture as a base64 encoded dataUri is more informative to those not used to working with base64 strings.
This commit is contained in:
@@ -95,7 +95,7 @@ npm run dev
|
||||
|
||||
| name | param | notes |
|
||||
| ------------ | -------- | ----------------------------------------------------------------------------------------------------- |
|
||||
| capture | void | Capture the current image through the webcam as base64 encoded string |
|
||||
| capture | void | Capture the current image through the webcam as a base64 encoded dataUri |
|
||||
| changeCamera | deviceId | change the currently selected camera. Must pass in the device ID |
|
||||
| start | void | Programmatically Start the camera after stopping it (relies on deviceId prop passed to the component) |
|
||||
| stop | void | Programmatically stop the camera |
|
||||
|
||||
Reference in New Issue
Block a user