在下面的测试代码中,我想根据canvas.offsetLeft更新mbox.style.left,但是由于布局更改而在重新定位画布时未调用函数repositionBox()。关于如何检测canvas.
確定! 回上一頁