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

Function mounted

public/iframe/lib/js/mixinsMap.js:214–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 this.scene = null
213 },
214 mounted () {
215 setTimeout(() => {
216 this.init()
217 }, 10);
218 Object.keys(this.option)
219 .filter(_ => !["data"].includes(_))
220 .forEach(_ => {
221 this.$watch(vm => vm.option[_], (newValue) => {
222 vm.updateStyle(this.pointLayer, _, newValue)
223 this.scene && this.scene.render()
224 });
225 });
226 },
227 methods: {
228 updateStyle () {
229 if (this.pointLayer) {

Callers

nothing calls this directly

Calls 2

setTimeoutFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected