1
0
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:
codecalm
2025-01-07 23:12:54 +01:00
parent 95c1130c5c
commit ebca62fc2d
5 changed files with 21 additions and 4 deletions

View File

@@ -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>
```