blockly > utils > svgMath > getDocumentScroll

utils.svgMath.getDocument Scroll() फ़ंक्शन

दस्तावेज़ की स्क्रोल दूरी को कोऑर्डिनेट ऑब्जेक्ट के तौर पर लेता है. क्लोज़र के goog.dom.getDocumentscroll से कॉपी किया गया है.

हस्ताक्षर:

export declare function getDocumentScroll(): Coordinate;

सामान लौटाना:

कोऑर्डिनेट

'x' और 'y' वैल्यू वाला ऑब्जेक्ट.