blockly > utils > svgMath > getDocumentScroll
utils.svgMath.getDocumentScroll() function
Gets the document scroll distance as a coordinate object. Copied from Closure's goog.dom.getDocumentScroll.
Signature:
export declare function getDocumentScroll(): Coordinate;
Returns:
Object with values 'x' and 'y'.