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