什么是前端开发中的viewport
viewport指代計算機圖形學上的多邊形(通常是矩形),代表當前被viewed的區域,即當前位于用戶瀏覽器內處于visible狀態的區域。Viewport之外的區域處于不可見狀態,直至其被scroll到viewport內為止。
A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you’re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view.
參考文獻
Deferred loading is a technique that is used to postpone the rendering of CMS components. Any component that is outside the viewport (that is, the area that is visible to the user) is not rendered in advance.
總結
以上是生活随笔為你收集整理的什么是前端开发中的viewport的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 网信办:百度、微博、豆瓣等履行主体责任不
- 下一篇: 用户强烈呼吁,谷歌终于要把 Androi