web端接入,当窗口大小变化后如何重新设置动画大小呢 #1457
Answered
by
pag-bbs-bot
pag-bbs-bot
asked this question in
Q&A
-
web端接入,当窗口大小变化后如何重新设置动画大小呢 比如 window.addEventListener('resize',function() {
当窗口变化时,可以在监听到变化后调用
已解决,加上canvas.style.cssText = '';覆盖掉style,可能是style影响了 |
Beta Was this translation helpful? Give feedback.
Answered by
pag-bbs-bot
Jul 11, 2023
Replies: 2 comments
-
The above content was transferred from a legacy post on the PAG forum |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pag-bbs-bot
-
加了canvas.style.cssText = ' '还是没有解决^~^ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above content was transferred from a legacy post on the PAG forum
以上内容搬运来自 PAG 论坛的历史帖子