https://github.com/jamesplease/dnd-mobile
Drag and drop tests for mobile devices.
https://github.com/jamesplease/dnd-mobile
Last synced: 12 months ago
JSON representation
Drag and drop tests for mobile devices.
- Host: GitHub
- URL: https://github.com/jamesplease/dnd-mobile
- Owner: jamesplease
- License: mit
- Created: 2015-04-06T19:20:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-07T17:51:24.000Z (about 11 years ago)
- Last Synced: 2025-02-07T10:28:25.122Z (over 1 year ago)
- Language: JavaScript
- Size: 167 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dnd-mobile
Drag and drop tests for mobile devices.
### Installation
1. Clone this repository.
2. Run `bower install` from the root project directory.
3. Start a simple server from the directory, and navigate to `127.0.0.1` in your browser.
### Testing draggable
Try to drag the blue box. If it can be dragged, then the test is a success.
### Testing droppable
Drag the blue box into the labeled drop zone. Reference the console output
for the triggered events on the droppable view. If there is console output,
then the test is a success.
### FAQ
#### How do I start a server?
My preferred method is [`node-static`](https://github.com/cloudhead/node-static). Simply
install it globally via `npm i -g node-static`, then run `static` from this project's
directory.
#### How do I test it on mobile?
1. Get your IP address from your network settings.
2. Navigate to that IP on your mobile device.
3. Try to drag the box.