0👍
The result is an array, so you can use this.$refs['block' + row + column][0].style.backgroundColor = this.colors[toColor];
to set the data. I hope it does work for you.
Source:stackexchange.com
0👍
The result is an array, so you can use this.$refs['block' + row + column][0].style.backgroundColor = this.colors[toColor];
to set the data. I hope it does work for you.