Overview: animate services count value

This commit is contained in:
Daniel
2023-10-30 13:06:55 +01:00
parent 5a7d7ece3d
commit b1dc8c2772
2 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export default class Overview {
stats.secure += analysis.isSecure
stats.thirdParties += analysis.isThirdParty
}
this.div.querySelector(".big").innerText = stats.total
this.div.querySelector(".big").setAttribute("style", `--value: ${stats.total}`)
this.div.querySelector(".small").innerText = `Available service${s(stats.total)}`
let encryption_t, encryption_d