JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19690
  • Score
    100M100P100Q144525F
  • License MIT

A lightweight attempt for solving the whole HTML5 DnD - svg tags compability issue

Package Exports

  • react-dnd-mouse-backend

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-dnd-mouse-backend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-dnd-mouse-backend

npm version

Mouse Backend for React Drag and Drop library http://gaearon.github.io/react-dnd

Usage

import { DragDropContext } from 'react-dnd'
import MouseBackEnd from 'react-dnd-mouse-backend'

const App = {...}

const AppContainer = DragDropContext(MouseBackEnd)(App)

Credits

Inspired by HTML5 Backend & Touch Backend to support only mouse events.