An open API service indexing awesome lists of open source software.

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.

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.