UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

62 lines (61 loc) 2.77 kB
import { default as _ScrollBar } from './src/index.vue'; export declare const ScrollBar: import('../withInstall').SFCWithInstall<{ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').Props> & Readonly<{ onScroll?: ((...args: any[]) => any) | undefined; }>, { update: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { scroll: (...args: any[]) => void; }, import('vue').PublicProps, { minSize: number; always: boolean; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { scrollbarEl: HTMLDivElement; scrollWrapEl: HTMLDivElement; barEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').BarProps> & Readonly<{}>, { handleScroll: (wrap: HTMLElement) => void; update: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').BarProps> & Readonly<{}>, { handleScroll: (wrap: HTMLElement) => void; update: () => void; }, {}, {}, {}, {}> | null; }, HTMLDivElement, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').Props> & Readonly<{ onScroll?: ((...args: any[]) => any) | undefined; }>, { update: () => void; }, {}, {}, {}, { minSize: number; always: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<Readonly<import('./src/types').Props> & Readonly<{ onScroll?: ((...args: any[]) => any) | undefined; }>, { update: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { scroll: (...args: any[]) => void; }, string, { minSize: number; always: boolean; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: { default?(_: {}): any; }; })> & Record<string, any>; export type ScrollBarInstance = InstanceType<typeof _ScrollBar>;