封鎖 >utils >svgMath >getDocumentScroll

utils.svgMath.getDocumentScroll() 函式

取得做為座標物件的文件捲動距離。從 Closure 的 goog.dom.getDocumentScroll 複製。

Signature:

export declare function getDocumentScroll(): Coordinate;

傳回:

座標

值為「x」的物件和「y」。