Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

scroll-anchoring.d.ts 333 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
  1. declare module 'scroll-anchoring' {
  2. export function findAnchorNode(document: Document): Node | undefined
  3. export function preserveAnchorNodePosition<T>(
  4. document: Document,
  5. callback: () => Promise<T> | T
  6. ): Promise<T>
  7. export function preservePosition<T>(anchorNode: Node, callback: () => Promise<T> | T): Promise<T>
  8. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...