Download react-slick/src/initial-state.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 608 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/src/initial-state.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/src/initial-state.js
-
curl -L -o initial-state.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/src/initial-state.js
608 Bytes
| 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, | |
| targetSlide: 0 | |
| }; | |
| export default initialState; | |