什么是前端开发中的viewport
viewport指代計(jì)算機(jī)圖形學(xué)上的多邊形(通常是矩形),代表當(dāng)前被viewed的區(qū)域,即當(dāng)前位于用戶瀏覽器內(nèi)處于visible狀態(tài)的區(qū)域。Viewport之外的區(qū)域處于不可見狀態(tài),直至其被scroll到viewport內(nèi)為止。
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.
參考文獻(xiàn)
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.
總結(jié)
以上是生活随笔為你收集整理的什么是前端开发中的viewport的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 网信办:百度、微博、豆瓣等履行主体责任不
- 下一篇: 如何在TypeScript代码里获得HT