/react-dnd-html5-backend

HTML5 backend for React DnD

Primary LanguageJavaScriptMIT LicenseMIT

React DnD HTML5 Backend npm package

The officially supported HTML5 backend for React DnD.
See the docs for usage information.

Installation

If you use npm:

npm install --save react-dnd-html5-backend

The npm package defaults to the CommonJS build.

However it also includes a pre-minified UMD build in the dist folder. The UMD build exports a global window.ReactDnDHTML5Backend when imported as a <script> tag.

If you’d rather not use npm, you can use npmcdn to access the UMD build directly: ReactDnDHTML5Backend.min.js.
You may point your Bower config to it.

Browser Support

We strive to support the evergreen browsers, Safari 7+, as well as IE11+. IE10 should also work, but DragLayer is fairly useless because IE10 doesn’t support pointer-events: none. We don’t officialy support IE9 and less.

Unfortunately the browser bugs, inconsistencies, and regressions come up from time to time, so please make sure you test your app on the browsers you’re interested in, and report any bugs to us.

License

MIT