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.

36 lines
974 B

8 months ago
  1. import type { ExtractPropTypes } from 'vue';
  2. export declare const backtopProps: {
  3. /**
  4. * @description the button will not show until the scroll height reaches this value.
  5. */
  6. readonly visibilityHeight: {
  7. readonly type: NumberConstructor;
  8. readonly default: 200;
  9. };
  10. /**
  11. * @description the target to trigger scroll.
  12. */
  13. readonly target: {
  14. readonly type: StringConstructor;
  15. readonly default: "";
  16. };
  17. /**
  18. * @description right distance.
  19. */
  20. readonly right: {
  21. readonly type: NumberConstructor;
  22. readonly default: 40;
  23. };
  24. /**
  25. * @description bottom distance.
  26. */
  27. readonly bottom: {
  28. readonly type: NumberConstructor;
  29. readonly default: 40;
  30. };
  31. };
  32. export type BacktopProps = ExtractPropTypes<typeof backtopProps>;
  33. export declare const backtopEmits: {
  34. click: (evt: MouseEvent) => boolean;
  35. };
  36. export type BacktopEmits = typeof backtopEmits;