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.
28 lines
609 B
28 lines
609 B
6 years ago
|
const initialState = {
|
||
|
animating: false,
|
||
|
autoplaying: null,
|
||
|
currentDirection: 0,
|
||
|
currentLeft: null,
|
||
|
currentSlide: 0,
|
||
|
direction: 1,
|
||
|
dragging: false,
|
||
|
edgeDragged: false,
|
||
|
initialized: false,
|
||
|
lazyLoadedList: [],
|
||
|
listHeight: null,
|
||
|
listWidth: null,
|
||
|
scrolling: false,
|
||
|
slideCount: null,
|
||
|
slideHeight: null,
|
||
|
slideWidth: null,
|
||
|
swipeLeft: null,
|
||
|
swiped: false, // used by swipeEvent. differentites between touch and swipe.
|
||
|
swiping: false,
|
||
|
touchObject: { startX: 0, startY: 0, curX: 0, curY: 0 },
|
||
|
trackStyle: {},
|
||
|
trackWidth: 0,
|
||
3 years ago
|
targetSlide: 0,
|
||
6 years ago
|
};
|
||
6 years ago
|
|
||
6 years ago
|
export default initialState;
|