Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

急急急动态渲染容器宽度无效 #60

Open
Timo-coder-jeby opened this issue Jan 21, 2021 · 1 comment
Open

急急急动态渲染容器宽度无效 #60

Timo-coder-jeby opened this issue Jan 21, 2021 · 1 comment

Comments

@Timo-coder-jeby
Copy link

您好:
怎么动态渲染弹幕呢,譬如说动态改变的弹幕容器的宽度,但是弹幕还是原来的宽,强制改变以后无效,怎么能刷新transform的值

@18890187062
Copy link

动态改变boxWidth这个属性没有用,使用原生的方式可以document.querySelector('#baberrage').style.width=宽度+'px';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants