GoScrobble/web/node_modules/dom-helpers/cjs/scrollTop.d.ts

12 lines
260 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
declare const _default: {
(node: Element): number;
(node: Element, val: number): undefined;
};
/**
* Gets or sets the scroll top position of a given element.
*
* @param node the element
* @param val the position to set
*/
export default _default;