dnd-mobile
Drag and drop tests for mobile devices.
Installation
- Clone this repository.
- Run
bower install
from the root project directory. - 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
. 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?
- Get your IP address from your network settings.
- Navigate to that IP on your mobile device.
- Try to drag the box.