48 lines
1.8 KiB
TypeScript
48 lines
1.8 KiB
TypeScript
export declare const Sticky: import("../utils").WithInstall<import("vue").DefineComponent<{
|
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
position: {
|
|
type: import("vue").PropType<import("./Sticky").StickyPosition>;
|
|
default: import("./Sticky").StickyPosition;
|
|
};
|
|
container: import("vue").PropType<Element>;
|
|
offsetTop: {
|
|
type: (NumberConstructor | StringConstructor)[];
|
|
default: number;
|
|
};
|
|
offsetBottom: {
|
|
type: (NumberConstructor | StringConstructor)[];
|
|
default: number;
|
|
};
|
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "change")[], "scroll" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
zIndex: (NumberConstructor | StringConstructor)[];
|
|
position: {
|
|
type: import("vue").PropType<import("./Sticky").StickyPosition>;
|
|
default: import("./Sticky").StickyPosition;
|
|
};
|
|
container: import("vue").PropType<Element>;
|
|
offsetTop: {
|
|
type: (NumberConstructor | StringConstructor)[];
|
|
default: number;
|
|
};
|
|
offsetBottom: {
|
|
type: (NumberConstructor | StringConstructor)[];
|
|
default: number;
|
|
};
|
|
}>> & {
|
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
}, {
|
|
position: import("./Sticky").StickyPosition;
|
|
offsetTop: string | number;
|
|
offsetBottom: string | number;
|
|
}>>;
|
|
export default Sticky;
|
|
export { stickyProps } from './Sticky';
|
|
export type { StickyProps, StickyPosition } from './Sticky';
|
|
export type { StickyThemeVars } from './types';
|
|
declare module 'vue' {
|
|
interface GlobalComponents {
|
|
VanSticky: typeof Sticky;
|
|
}
|
|
}
|