anchor.d.ts 2.0 KB

123456789101112131415161718192021222324
  1. import type { ExtractPropTypes } from 'vue';
  2. import type Anchor from './anchor.vue';
  3. export declare const anchorProps: {
  4. container: {
  5. readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement | Window) | (() => string | HTMLElement | Window | null) | ((new (...args: any[]) => string | HTMLElement | Window) | (() => string | HTMLElement | Window | null))[], unknown, unknown>>;
  6. readonly required: false;
  7. readonly validator: ((val: unknown) => boolean) | undefined;
  8. __epPropKey: true;
  9. };
  10. offset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
  11. bound: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
  12. duration: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
  13. marker: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
  14. type: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "default" | "underline") | (() => "default" | "underline") | ((new (...args: any[]) => "default" | "underline") | (() => "default" | "underline"))[], unknown, unknown, string, boolean>;
  15. direction: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical") | ((new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical"))[], unknown, unknown, string, boolean>;
  16. selectScrollTop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
  17. };
  18. export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
  19. export type AnchorInstance = InstanceType<typeof Anchor> & unknown;
  20. export declare const anchorEmits: {
  21. change: (href: string) => boolean;
  22. click: (e: MouseEvent, href?: string) => boolean;
  23. };
  24. export type AnchorEmits = typeof anchorEmits;