How to access global variable from outside of canvas.onmousemove function?

前端 未结 0 1800
故里飘歌
故里飘歌 2021-02-14 22:58

I have a canvas powered by chartJs to show a chart.And I defined a onmousemove function like below to manipulate variable

myVariable = false;
ctx: any;
@ViewChild         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题