This demo shows how a component can use TouchSwipeMixin and TrackpadSwipeMixin to listen to horizontal touch swipes and trackpad swipes, respectively. Swiping will show the current swipe distance as a fraction of the demo width. It will also translate the gray block by that fraction so the user feels like they are directly moving the block.