@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
12 lines (11 loc) • 321 B
TypeScript
/**
* Scrolling utilities.
*/
export declare class NeonScrollUtils {
/**
* Programmatically scroll an element into view. NOTE: This is for use with any element inside a scrolling parent.
*
* @param element Element to scroll into view.
*/
static scrollIntoView(element: HTMLElement): void;
}