[API/Framework]

Framework > Core > Document

Document

개요

Document는 document와 viewport의 width, height, scroll 값을 추출할 수 있습니다.

Method

Method this.chain
getHtmlBody () Element
Strict 모드에 따라 HTMLElement 또는 HTMLBodyElement 추출합니다.
getDocWidth () Number
Strict 모드에 따라 Document Width 추출합니다.
getDocHeight () Number
Strict 모드에 따라 Document Height 추출합니다.
getDocWH () Array
Document의 width와 Height 추출합니다.
getViewportWidth () Number
Viewport width 추출합니다.
getViewportHeight () Number
Viewport Height 추출합니다.
getViewportWH () Array
Viewport width와 height 추출합니다.
getDocScrollLeft () Number
Document Scroll Left 추출합니다.
getDocScrollTop () Number
Document Scroll Top 추출합니다.
getDocScrollLT () Array
Document scroll left와 scroll top 추출합니다.