0.9.1 • Published 10 years ago
phosphor-dragdrop v0.9.1
phosphor-dragdrop
A module for custom in-app drag and drop operations.
Package Install
Prerequisites
npm install --save phosphor-dragdropSource Build
Prerequisites
git clone https://github.com/phosphorjs/phosphor-dragdrop.git
cd phosphor-dragdrop
npm installRebuild
npm run clean
npm run buildRun Tests
Follow the source build instructions first.
# run tests in Firefox
npm test
# run tests in Chrome
npm run test:chrome
# run tests in IE
npm run test:ieBuild Docs
Follow the source build instructions first.
npm run docsNavigate to docs/index.html.
Supported Runtimes
The runtime versions which are currently known to work are listed below. Earlier versions may also work, but come with no guarantees.
- IE 11+
- Firefox 32+
- Chrome 38+
Bundle for the Browser
Follow the package install instructions first.
Any bundler that understands how to require() files with .js and .css
extensions can be used with this package.
Usage Examples
Note: This module is fully compatible with Node/Babel/ES6/ES5. Simply omit the type declarations when using a language other than TypeScript.