UNPKG
sharding-stats
Version:
latest (2.4.0)
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
0.5.1
0.5.0
0.4.4
A cool Dashboard & Manager for showing Live Stats and managing your Discord Bot/Shards
sharding-stats
/
Frontend
/
assets
/
js
/
circle-progress.js
8 lines
•
310 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
(
function
(
$
) {
'use strict'
;
if
($(
".circle-progress-1"
).
length
) { $(
'.circle-progress-1'
).
circleProgress
({}).
on
(
'circle-animation-progress'
,
function
(
event, progress, stepValue
) { $(
this
).
find
(
'.value'
).
html
(
Math
.
round
(
100
* stepValue.
toFixed
(
2
).
substr
(
1
)) +
'<i>%</i>'
); }); } })(jQuery);