@types/fbjs
Version:
TypeScript definitions for fbjs
12 lines (9 loc) • 395 B
TypeScript
/**
* Gets the element with the document scroll properties such as `scrollLeft` and
* `scrollHeight`. This may differ across different browsers.
*
* NOTE: The return value can be null if the DOM is not yet ready.
*/
declare function getDocumentScrollElement(doc?: Document): HTMLElement | null | undefined;
declare namespace getDocumentScrollElement {}
export = getDocumentScrollElement;