indicate
Version:
Scroll indicator for elements with scrollable overflow.
7 lines (6 loc) • 458 B
TypeScript
import { Instance, Elements, Options, PluginOptions } from './types';
export declare const instances: Map<HTMLElement, Instance>;
export declare const getDOMNodes: (element: Elements) => false | NodeListOf<Element> | HTMLElement[];
export declare const initialize: (options: Options, element: HTMLElement) => void;
export declare const indicate: (element: Elements, options?: PluginOptions) => void;
export declare const remove: (element: Elements) => void;