@scrolia/vanilla
Version:
A headless scrollbar component
47 lines • 2.24 kB
TypeScript
import { CSSProperties, ComponentProps } from "./@types/component.js";
import { Axis, OnDragEndOptions, OnDragMoveOptions, OnDragMoveResult, OnDragStartOptions, OnScrollOptions, OnScrollResult, OnSetLengthOptions, OnSetLengthResult, Options, Plugin, PluginProps, PluginPropsFunction } from "./@types/options.js";
import { ContainerElement } from "./components/contianer/index.js";
import { ContentElement } from "./components/contnet/index.js";
import { ProviderElement } from "./components/provider/index.js";
import { ThumbXElement } from "./components/thumb/x.js";
import { ThumbYElement } from "./components/thumb/y.js";
import { TrackXElement } from "./components/track/x.js";
import { TrackYElement } from "./components/track/y.js";
import * as atomico_types_dom0 from "atomico/types/dom";
/** Scrollbar components. */
declare const Scrollbar: {
Container: atomico_types_dom0.Atomico<unknown, unknown, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
Content: atomico_types_dom0.Atomico<unknown, unknown, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
Provider: atomico_types_dom0.Atomico<{
[x: string]: any;
} & {}, {
[x: string]: any;
} & {}, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
ThumbX: atomico_types_dom0.Atomico<unknown, unknown, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
ThumbY: atomico_types_dom0.Atomico<unknown, unknown, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
TrackX: atomico_types_dom0.Atomico<unknown, unknown, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
TrackY: atomico_types_dom0.Atomico<unknown, unknown, {
new (): HTMLElement;
prototype: HTMLElement;
}>;
};
export { type Axis, type CSSProperties, type ComponentProps, type ContainerElement, type ContentElement, type OnDragEndOptions, type OnDragMoveOptions, type OnDragMoveResult, type OnDragStartOptions, type OnScrollOptions, type OnScrollResult, type OnSetLengthOptions, type OnSetLengthResult, type Options, type Plugin, type PluginProps, type PluginPropsFunction, type ProviderElement, Scrollbar, type ThumbXElement, type ThumbYElement, type TrackXElement, type TrackYElement };
//# sourceMappingURL=index.d.ts.map