master Breadcrumbs react-dnd-multi-backend / .npmignore Latest commit HistoryHistory File metadata and controls Code Blame 28 lines (22 loc) · 230 Bytes Raw 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 # OS files .DS_Store # Input /...
"name": "react-dnd-multi-backend", "version": "2.3.7", "lockfileVersion": 1, "dependencies": { "@types/node": { "version": "6.0.78", "resolved": "https://registry.npmjs.org/@types/node/-/node-6.0.78.tgz", "integrity": "sha512-+vD6E8ixntRzzZukoF3uP1iV+ZjVN3koTcaeK+BE...
react-dnd-multi-backend 存在带有触摸屏的笔记本电脑,因此很高兴能够在此类设备上同时支持鼠标和触摸交互,而不仅仅是一个或另一个。 这使您能够支持与React DnD的鼠标和触摸交互。 用法 只需将所需的后端作为参数传递给MultiBackend 。 例子 import React , { Component } from 'react' ; import MultiBackend ...
Multi Backend system for React DnD. Contribute to renchap/react-dnd-multi-backend development by creating an account on GitHub.
forked fromrenchap/react-dnd-multi-backend NotificationsYou must be signed in to change notification settings Fork0 Star0 Code Pull requests Actions Projects Security Insights Additional navigation options Files master dist examples src webpack
Multi Backend system for React DnD. Contribute to ckonig/react-dnd-multi-backend development by creating an account on GitHub.
Multi Backend system for React DnD. Contribute to ckonig/react-dnd-multi-backend development by creating an account on GitHub.
forked fromrenchap/react-dnd-multi-backend NotificationsYou must be signed in to change notification settings Fork0 Star0 Code Pull requests Actions Projects Security Insights Additional navigation options Commit Browse filesBrowse the repository at this point in the history ...
varHTML5toTouch=require('react-dnd-multi-backend/lib/HTML5toTouch').default;//or any other pipeline ... module.exports=ReactDnD.DragDropContext(MultiBackend(HTML5toTouch))(App); ``` Expand DownExpand Up@@ -83,7 +83,7 @@ Here is the `HTML5toTouch` pipeline code as an example: ...
import TouchBackend from 'react-dnd-touch-backend'; @@ -23,7 +24,7 @@ const oldHTML5toTouch = { describe('MultiBackend class', () => { const createBackend = (pipeline = oldHTML5toTouch, manager = null) => { if (manager === null) { manager = {getMonitor: sinon.stub()...