Zeu.js 1.0.0 发布, 九大全新组件全面升级

Zeu.js 是一个 JavaScript 库,其中包含一系列预构建的可视化组件,用于构建实时 TV 仪表板,监控 UI 和物联网Web界面。

安装

From dist

<script src="zeu.min.js"></script>
复制代码

使用教程

快速创建一个文字仪表盘

<!-- Include zeu.js. -->
<script src="zeu.min.js"></script>
<!-- Create a canvas. -->
<canvas id="text-meter" width="200" height="100"></canvas>
![](https://user-gold-cdn.xitu.io/2018/8/29/16582e7835d906c3?w=191&h=118&f=gif&s=173967)
<script>
  // Create a Zeu TextMeter.
  var textMeter = new zeu.TextMeter('text-meter');
  // Update display and percentage value.
  textMeter.displayValue = 'ZEU';
  textMeter.value = 50;
</script>
复制代码

文字仪表盘

就是那么简单!

更多组件展示

My Command Center

My Command Center

文档

开发

From source

npm run build
复制代码

开源

MIT

猜你喜欢

转载自juejin.im/post/5b85db6951882542e022700d