FrontPastel/node_modules/dom-helpers/cjs/scrollTop.d.ts

12 lines
260 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +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;