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

布局边界 #164

Open
coconilu opened this issue May 18, 2020 · 0 comments
Open

布局边界 #164

coconilu opened this issue May 18, 2020 · 0 comments

Comments

@coconilu
Copy link
Owner

当我们修改DOM元素的大小和位置的时候,会触发layout事件,重新布局,一般来说布局会设计整个DOM,但是可以通过布局边界限制layout的范围,达到提升性能的效果。

参考:
《Introducing 'layout boundaries'》

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

1 participant