UNPKG

2.04 kBMarkdownView Raw
1[![npm package](https://img.shields.io/npm/v/react-dnd-html5-backend.svg?style=flat-square)](https://www.npmjs.org/package/react-dnd-html5-backend)
2[![Build Status](https://travis-ci.org/react-dnd/react-dnd-html5-backend.svg?branch=master)](https://travis-ci.org/react-dnd/react-dnd-html5-backend)
3[![dependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend)
4[![devDependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/dev-status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend?type=dev)
5[![peerDependencies Status](https://david-dm.org/react-dnd/react-dnd-html5-backend/peer-status.svg)](https://david-dm.org/react-dnd/react-dnd-html5-backend?type=peer)
6
7# React DnD HTML5 Backend
8
9The officially supported HTML5 backend for [React DnD](http://react-dnd.github.io/react-dnd/).
10See [the docs](http://react-dnd.github.io/react-dnd/docs/backends/html5) for usage information.
11
12## Installation
13
14If you use [npm](http://npmjs.com):
15
16```
17npm install --save react-dnd-html5-backend
18```
19
20The npm package defaults to the CommonJS build.
21
22However it also includes a pre-minified UMD build in the `dist` folder.
23The UMD build exports a global `window.ReactDnDHTML5Backend` when imported as a `<script>` tag.
24
25If you’d rather not use npm, you can use [unpkg](http://unpkg.com/) to access the UMD build directly: [ReactDnDHTML5Backend.min.js](https://unpkg.com/react-dnd-html5-backend@latest/dist/ReactDnDHTML5Backend.min.js).
26You may point your Bower config to it.
27
28## Browser Support
29
30We 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 officially support IE9 and less.
31
32Unfortunately 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.
33
34## License
35
36MIT