initial-state.js 560 B

12345678910111213141516171819202122232425262728293031
  1. var initialState = {
  2. animating: false,
  3. autoplaying: null,
  4. currentDirection: 0,
  5. currentLeft: null,
  6. currentSlide: 0,
  7. direction: 1,
  8. dragging: false,
  9. edgeDragged: false,
  10. initialized: false,
  11. lazyLoadedList: [],
  12. listHeight: null,
  13. listWidth: null,
  14. scrolling: false,
  15. slideCount: null,
  16. slideHeight: null,
  17. slideWidth: null,
  18. swipeLeft: null,
  19. swiped: false,
  20. swiping: false,
  21. touchObject: {
  22. startX: 0,
  23. startY: 0,
  24. curX: 0,
  25. curY: 0
  26. },
  27. trackStyle: {},
  28. trackWidth: 0,
  29. targetSlide: 0
  30. };
  31. export default initialState;