mirror of
https://github.com/tabler/tabler.git
synced 2025-12-26 11:16:12 +04:00
Add countup functionality and update documentation example
This commit is contained in:
@@ -11,9 +11,7 @@ To be able to use the countup in your application you will need to install the c
|
||||
|
||||
To create a countup, add `data-countup` to any HTML text tag and specify the number which is to be reached. The animation will be triggered as soon as the number enters the viewport.
|
||||
|
||||
```html example
|
||||
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
||||
|
||||
```html example libs="countup"
|
||||
<h1 data-countup>30000</h1>
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user