props.js 751 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. const props = {
  2. animation: {
  3. type: String,
  4. value: 'slide',
  5. },
  6. autoplay: {
  7. type: Boolean,
  8. value: true,
  9. },
  10. current: {
  11. type: Number,
  12. value: null,
  13. },
  14. defaultCurrent: {
  15. type: Number,
  16. value: 0,
  17. },
  18. direction: {
  19. type: String,
  20. value: 'horizontal',
  21. },
  22. duration: {
  23. type: Number,
  24. value: 300,
  25. },
  26. height: {
  27. type: Number,
  28. },
  29. interval: {
  30. type: Number,
  31. value: 5000,
  32. },
  33. loop: {
  34. type: Boolean,
  35. value: true,
  36. },
  37. navigation: {
  38. type: Object,
  39. },
  40. paginationPosition: {
  41. type: String,
  42. value: 'bottom',
  43. },
  44. };
  45. export default props;