ibm-js/dpointer — pull request #25 by sbrunot (2014-08-07 09:52:35+00:00)
Title: Expose touchTracker as a protected variable of pointerEvents.

This allows implementing the following pattern to drag and drop an item in a list on touch devices:

Items are moved within the list using drag and drop. When an item is “pressed” (pointerdown event) for more than X seconds without moving, it is grabbed, at which point it can be dragged up and down the list by moving the pointer. When it is dropped, the location of the drop defines where the item should be moved within the list. If an item is "pressed" less that X seconds and the user moves the pointer, the is not grabbed and the list scroll as usual. Example: weather app on iOS.

To implement this pattern using pointer event, one need to be able to change the default touch action after the initial pointer down event: accessing the touchTracker allows to do this.