UNPKG

1.9 kBTypeScriptView Raw
1export declare const Sticky: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 zIndex: (NumberConstructor | StringConstructor)[];
3 position: {
4 type: import("vue").PropType<import("./Sticky").StickyPosition>;
5 default: import("./Sticky").StickyPosition;
6 };
7 container: import("vue").PropType<Element>;
8 offsetTop: {
9 type: (NumberConstructor | StringConstructor)[];
10 default: number;
11 };
12 offsetBottom: {
13 type: (NumberConstructor | StringConstructor)[];
14 default: number;
15 };
16}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17 zIndex: (NumberConstructor | StringConstructor)[];
18 position: {
19 type: import("vue").PropType<import("./Sticky").StickyPosition>;
20 default: import("./Sticky").StickyPosition;
21 };
22 container: import("vue").PropType<Element>;
23 offsetTop: {
24 type: (NumberConstructor | StringConstructor)[];
25 default: number;
26 };
27 offsetBottom: {
28 type: (NumberConstructor | StringConstructor)[];
29 default: number;
30 };
31}>> & Readonly<{
32 onChange?: ((...args: any[]) => any) | undefined;
33 onScroll?: ((...args: any[]) => any) | undefined;
34}>, {
35 position: import("./Sticky").StickyPosition;
36 offsetTop: string | number;
37 offsetBottom: string | number;
38}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
39export default Sticky;
40export { stickyProps } from './Sticky';
41export type { StickyProps, StickyPosition } from './Sticky';
42export type { StickyThemeVars } from './types';
43declare module 'vue' {
44 interface GlobalComponents {
45 VanSticky: typeof Sticky;
46 }
47}
48
\No newline at end of file