0.0.1 • Published 7 years ago

easy-camera v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

easy-camera

Alpha

easy-camera is a V1 Web Component that provides a nice wrapper around the getUserMedia api to give you camera like functionality in the browser. Because easy-camera is a vanilla V1 Web Component it is entirely framework agnostic.

How do I use it

With my current setup the simplest way (although you can definitely bundle it however you like) to use easy-camera simply install it, include a link to the node_modules/easy-camera.js file and then put <easy-camera></easy-camera where you need it in your app. To trigger easy-camera to take a picture just pass it the snap attribute.

0.0.1

7 years ago