An element extending app-media-image-capture
allowing a periodic image capture (i.e. x images per second)
granite-app-media-periodic-image-capture
An element extending
app-media-image-capture
allowing a periodic image capture (i.e. x images per second)Polymer 2.x element
Doc & demo
It works like app-media-image-capture
but allowing periodic image capture using frequency
property to fix the number of capture images per second and capture
boolean property to activate or desactivate periodical capture.
You can see a full example on the demo.
https://lostinbrittany.github.io/granite-app-media-periodic-image-capture
Install
Install the component using Bower:
$ bower install LostInBrittany/granite-app-media-periodic-image-capture --save
Or download as ZIP.## Usage
-
Import Web Components' polyfill (if needed):
<script src="bower_components/webcomponentsjs/webcomponents.min.js"></script>
-
Import Custom Element:
<link rel="import" href="bower_components/granite-qrcode-scanner/granite-app-media-periodic-image-capture.html">
-
Start using it!
<granite-app-media-periodic-image-capture> </granite-app-media-periodic-image-capture>
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
Install
Framework Support
Polymer 3.0+
Browser Independent
Install with
Run the above npm command in your project folder.
If you have any issues installing, please
contact the author.
Release notes - Version 2.0.0
Dependencies
- @polymer/polymer#^3.0.0
- @polymer/app-media#github:LostInBrittany/app-media#3.0.0-pre.19