no message

Former-commit-id: de9fc7ee6ce7d2874bedb5d51fd2997f52870126
Former-commit-id: 70cb9e2b35ef7a76a62dc085aeb77eb914bc42ab
Former-commit-id: 47e9746d0a0fd6d32e798a0f6fbd684c8b555f09
This commit is contained in:
liyang
2018-06-10 08:43:27 +08:00
parent 8cc55e1bf7
commit 58ec52afac
11 changed files with 27 additions and 25 deletions

View File

@@ -7,7 +7,7 @@
## 示例
```
<Highlight code="alert('Hello')"></Highlight>
<d2-highlight code="alert('Hello')"></d2-highlight>
```
> 本框架只是提供代码高亮的简单实现,如需实现更高级的设置请修改组件代码

View File

@@ -13,13 +13,13 @@
```
// 基本使用方法
<CountUp :end="100"></CountUp>
<d2-count-up :end="100"></d2-count-up>
// 设置始末值
<CountUp :start="14" :end="100"></CountUp>
<d2-count-up :start="14" :end="100"></d2-count-up>
// 设置动画时间
<CountUp :end="100" :decimals="2"></CountUp>
<d2-count-up :end="100" :decimals="2"></d2-count-up>
```
组件会在页面上渲染 `<span>` 标签