├── .babelrc ├── .eslintignore ├── .eslintrc ├── .gitignore ├── README.md ├── app-demo.gif ├── assets └── index.html ├── package.json ├── src ├── consts.ts ├── draggingHandler.ts ├── index.ts ├── startDraggingHandler.ts ├── stopDraggingHandler.ts ├── types.ts └── utils │ ├── accessElementTransitionProperty.ts │ ├── fixContainerHeight.ts │ ├── getDOMNodePosition.ts │ ├── getNextListItem.ts │ ├── getPrevListItem.ts │ ├── insertDOMNodeAfter.ts │ ├── removeDOMNode.ts │ └── swapDOMNodes.ts ├── static └── styles.css ├── tsconfig.json ├── webpack.config.ts └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea 3 | dist 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/README.md -------------------------------------------------------------------------------- /app-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/app-demo.gif -------------------------------------------------------------------------------- /assets/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/assets/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/package.json -------------------------------------------------------------------------------- /src/consts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/consts.ts -------------------------------------------------------------------------------- /src/draggingHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/draggingHandler.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/startDraggingHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/startDraggingHandler.ts -------------------------------------------------------------------------------- /src/stopDraggingHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/stopDraggingHandler.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/accessElementTransitionProperty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/accessElementTransitionProperty.ts -------------------------------------------------------------------------------- /src/utils/fixContainerHeight.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/fixContainerHeight.ts -------------------------------------------------------------------------------- /src/utils/getDOMNodePosition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/getDOMNodePosition.ts -------------------------------------------------------------------------------- /src/utils/getNextListItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/getNextListItem.ts -------------------------------------------------------------------------------- /src/utils/getPrevListItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/getPrevListItem.ts -------------------------------------------------------------------------------- /src/utils/insertDOMNodeAfter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/insertDOMNodeAfter.ts -------------------------------------------------------------------------------- /src/utils/removeDOMNode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/removeDOMNode.ts -------------------------------------------------------------------------------- /src/utils/swapDOMNodes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/src/utils/swapDOMNodes.ts -------------------------------------------------------------------------------- /static/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/static/styles.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/webpack.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loonywizard/native-js-dnd-list/HEAD/yarn.lock --------------------------------------------------------------------------------