props.ts 818 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // @ts-nocheck
  2. // import { CircleProps} from './type';
  3. // import { PropType } from 'vue';
  4. export default {
  5. percent: {
  6. type: Number,
  7. default: 0
  8. },
  9. size: {
  10. type: String,
  11. default: '120px'
  12. },
  13. lineCap: {
  14. type: String,
  15. default: 'round'
  16. },
  17. strokeWidth: {
  18. type: [String, Number],
  19. default: 6
  20. },
  21. strokeColor: {
  22. type: [String , Array],
  23. default: '#2db7f5'
  24. },
  25. trailWidth: {
  26. type: [String, Number],
  27. default: 6
  28. },
  29. trailColor: {
  30. type: String,
  31. default: '#ddd'
  32. },
  33. dashborad: Boolean,
  34. clockwise: {
  35. type: Boolean,
  36. default: true
  37. },
  38. duration: {
  39. type: Number,
  40. default: 300
  41. },
  42. max: {
  43. type: Number,
  44. default: 100
  45. },
  46. /**缺口角度 暂未实现*/
  47. // gapDegree: {
  48. // type: Number,
  49. // },
  50. /**成功配置 暂未实现*/
  51. // success: {
  52. // type: Object
  53. // },
  54. canvas: Boolean
  55. }