管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-02-26 3f7ec892d68f71e996489d14d9918dc332281b1e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { SuperComponent } from '../common/src/index';
import type { TdStickyProps } from './type';
export interface StickyProps extends TdStickyProps {
}
export default class Sticky extends SuperComponent {
    externalClasses: string[];
    properties: TdStickyProps;
    behaviors: string[];
    observers: {
        'offsetTop, disabled, container'(): void;
    };
    data: {
        prefix: string;
        classPrefix: string;
        containerStyle: string;
        contentStyle: string;
    };
    ready(): void;
    methods: {
        onScroll(event?: {
            scrollTop: number;
        }): void;
        setDataAfterDiff(data: {
            isFixed: boolean;
            height?: number;
            transform?: number;
        }): void;
        getContainerRect(): Promise<WechatMiniprogram.BoundingClientRectCallbackResult>;
    };
}