e16398a988c0ea31aaf69d5312ab45442f8eb27c80401edccfda3a9d0495f87cd31539befc34e3d544e14d30aea4e6ce568983ce487e50bf3648e3e346144e 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import type { ExtractPropTypes, __ExtractPublicPropTypes } 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 type BacktopPropsPublic = __ExtractPublicPropTypes<typeof backtopProps>;
  34. export declare const backtopEmits: {
  35. click: (evt: MouseEvent) => boolean;
  36. };
  37. export type BacktopEmits = typeof backtopEmits;