Skip to content

Commit

Permalink
优化组件文档:提示
Browse files Browse the repository at this point in the history
  • Loading branch information
KingBes committed Dec 17, 2024
1 parent d213ec7 commit 92d04b7
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion doc/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,28 @@
<span tips-top="向上">我这个向上</span>
</div>
</div>
</div>
</div>

代码:

```html
<div class="row">
<div class="col col-3">
<button class="bny-btn" tips-top="向上" title="向上">显示在上</button>
</div>
<div class="col col-3">
<button class="bny-btn" tips-bottom="向下">显示在下</button>
</div>
<div class="col col-3">
<button class="bny-btn" tips-left="向左">显示在左</button>
</div>
<div class="col col-3">
<button class="bny-btn" tips-right="向右">显示在右</button>
</div>
</div>
<div class="row">
<div class="col col-3">
<span tips-top="向上">我这个向上</span>
</div>
</div>
```

0 comments on commit 92d04b7

Please sign in to comment.