UNPKG

hongluan-ui

Version:
20 lines (19 loc) 1.05 kB
import type { ExtractPropTypes } from 'vue'; import type { ZIndexProperty } from 'csstype'; import type Affix from './affix.vue'; export declare const affixProps: { readonly zIndex: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<ZIndexProperty>, unknown, unknown, 100, boolean>; readonly target: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>; readonly offset: import("hongluan-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>; readonly position: import("hongluan-ui/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>; }; export declare const affixEmits: { scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean; }) => boolean; change: (fixed: boolean) => boolean; }; export declare type AffixProps = ExtractPropTypes<typeof affixProps>; export declare type AffixEmits = typeof affixEmits; export declare type AffixInstance = InstanceType<typeof Affix>;