You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1.1 KiB
20 lines
1.1 KiB
|
2 years ago
|
import type { ExtractPropTypes } from 'vue';
|
||
|
|
import type { ZIndexProperty } from 'csstype';
|
||
|
|
import type Affix from './affix.vue';
|
||
|
|
export declare const affixProps: {
|
||
|
|
readonly zIndex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ZIndexProperty & {}) | (() => ZIndexProperty) | ((new (...args: any[]) => ZIndexProperty & {}) | (() => ZIndexProperty))[], unknown, unknown, 100, boolean>;
|
||
|
|
readonly target: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
||
|
|
readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
||
|
|
readonly position: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
||
|
|
};
|
||
|
|
export declare type AffixProps = ExtractPropTypes<typeof affixProps>;
|
||
|
|
export declare const affixEmits: {
|
||
|
|
scroll: ({ scrollTop, fixed }: {
|
||
|
|
scrollTop: number;
|
||
|
|
fixed: boolean;
|
||
|
|
}) => boolean;
|
||
|
|
change: (fixed: boolean) => boolean;
|
||
|
|
};
|
||
|
|
export declare type AffixEmits = typeof affixEmits;
|
||
|
|
export declare type AffixInstance = InstanceType<typeof Affix>;
|