svelte-ux
Version:
A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.
25 lines (24 loc) • 1.06 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
declare class __sveltets_Render<T> {
props(): {
items: T[];
perPage?: number;
disabled?: boolean;
};
events(): {
intersecting: Event | KeyboardEvent | UIEvent | MouseEvent | FocusEvent | AnimationEvent | InputEvent | CompositionEvent | ClipboardEvent | DragEvent | ErrorEvent | FormDataEvent | PointerEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots(): {
default: {
visibleItems: T[];
};
};
}
export type InfiniteScrollProps<T> = ReturnType<__sveltets_Render<T>['props']>;
export type InfiniteScrollEvents<T> = ReturnType<__sveltets_Render<T>['events']>;
export type InfiniteScrollSlots<T> = ReturnType<__sveltets_Render<T>['slots']>;
export default class InfiniteScroll<T> extends SvelteComponentTyped<InfiniteScrollProps<T>, InfiniteScrollEvents<T>, InfiniteScrollSlots<T>> {
}
export {};