MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / initData

Function initData

public/iframe/lib/js/mixinsComponents.js:888–894  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

886 this.$refs.sinaRankBody.style.zoom = this.$refs.sinaRankBody.clientHeight / 450 / (this.$refs.sinaRank.clientWidth / 450)
887 },
888 initData() {
889 this.number = this.number == this.option.data.length ? 0 : this.number;
890 this.timer = setTimeout(() => {
891 this.number++;
892 this.initData();
893 }, this.option.Animationtime * 1000)
894 }
895 },
896 beforeDestroy() {
897 clearInterval(this.timer);

Callers

nothing calls this directly

Calls 1

setTimeoutFunction · 0.85

Tested by

no test coverage detected