UNPKG

naive-ui

Version:

A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast

46 lines (45 loc) 1.84 kB
import { type PropType } from 'vue'; import type { ExtractPublicPropTypes } from '../../_utils'; import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar'; export declare const infiniteScrollProps: { readonly distance: { readonly type: NumberConstructor; readonly default: 0; }; readonly onLoad: PropType<() => Promise<void> | void>; readonly scrollbarProps: PropType<ScrollbarProps>; }; export type InfiniteScrollProps = ExtractPublicPropTypes<typeof infiniteScrollProps>; declare const _default: import("vue").DefineComponent<{ readonly distance: { readonly type: NumberConstructor; readonly default: 0; }; readonly onLoad: PropType<() => Promise<void> | void>; readonly scrollbarProps: PropType<ScrollbarProps>; }, { scrollbarInstRef: import("vue").Ref<{ $el: HTMLElement; containerRef: HTMLElement | null; contentRef: HTMLElement | null; containerScrollTop: number; syncUnifiedContainer: () => void; scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo; scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy; sync: () => void; handleMouseEnterWrapper: () => void; handleMouseLeaveWrapper: () => void; } | null>; handleScroll: () => void; handleWheel: (e: WheelEvent) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly distance: { readonly type: NumberConstructor; readonly default: 0; }; readonly onLoad: PropType<() => Promise<void> | void>; readonly scrollbarProps: PropType<ScrollbarProps>; }>>, { readonly distance: number; }, {}>; export default _default;