Zeu.js
- Zeu.js is JavaScript library featuring a collection of prebuilt visualization components for building real-time TV dashboard, monitoring UI and IoT web interface.
- Installation
- From dist
- <script src="zeu.min.js"></script>
- Quick Start
- Let's build our first Zeu component!
- <!-- Include zeu.js. -->
- <script src="zeu.min.js"></script>
- <!-- Create a canvas. -->
- <canvas id="text-meter" width="200" height="100"></canvas>
- <script>
- // Create a Zeu TextMeter.
- var textMeter = new zeu.TextMeter('text-meter');
- // Update display and percentage value.
- textMeter.displayValue = 'ZEU';
- textMeter.value = 50;
- </script>
- Done! Explore the Introduction https://shzlw.github.io/zeu/docs/introduction.html page to get started.
- v1.0.0
- My Command Center https://shzlw.github.io/zeu/examples/my-command-center.html
- Documentation https://shzlw.github.io/zeu/docs/introduction.html
- Build
- From source
- npm run build
- v0.9.4
- The previous release can be found at https://github.com/shzlw/zeu/tree/v0.9.4
- License
- http://opensource.org/licenses/MIT
来源: http://www.tuicool.com/articles/2mIz2ma