335544092727e39425d12765d355ada404874603711e0efbdf2cafb63c9c548daa9ca3d8ea1871d686202341efc5dc13a717b57460c4a330b26184c205f402 1.3 KB

1234567891011121314151617181920
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
  2. import type { ZIndexProperty } from 'csstype';
  3. import type Affix from './affix.vue';
  4. export declare const affixProps: {
  5. readonly zIndex: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto") | (() => ZIndexProperty) | ((new (...args: any[]) => number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "auto") | (() => ZIndexProperty))[], unknown, unknown, 100, boolean>;
  6. readonly target: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
  7. readonly offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  8. readonly position: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
  9. };
  10. export type AffixProps = ExtractPropTypes<typeof affixProps>;
  11. export type AffixPropsPublic = __ExtractPublicPropTypes<typeof affixProps>;
  12. export declare const affixEmits: {
  13. scroll: ({ scrollTop, fixed }: {
  14. scrollTop: number;
  15. fixed: boolean;
  16. }) => boolean;
  17. change: (fixed: boolean) => boolean;
  18. };
  19. export type AffixEmits = typeof affixEmits;
  20. export type AffixInstance = InstanceType<typeof Affix> & unknown;