@types/scrollparent
Version:
TypeScript definitions for scrollparent
23 lines (16 loc) • 685 B
Markdown
# Installation
> `npm install --save @types/scrollparent`
# Summary
This package contains type definitions for scrollparent (https://github.com/olahol/scrollparent.js#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scrollparent.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scrollparent/index.d.ts)
````ts
declare function scrollparent(node: HTMLElement | SVGElement): HTMLElement | null;
export = scrollparent;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: none
# Credits
These definitions were written by .