Fork me on GitHub

property: excludedElements

If you want to exclude certain child elements from triggering swipes, you can simply add a .noSwipe class to the element. Then the element and any of its children will no longer trigger the swipe.

Also, a jQuery selector is used to exclude input elements as well as the .noSwipe elements. By default all button, input, select, textarea and a elements are excluded. So either add a .noSwipe class the element, or set your own selector in the excludedElements property.


	
			
			
			
Swipe me, the child elements will not trigger swipes by default

Im am NOT swipeable because my class is .noSwipe

Swipe me, the child elements will not trigger swipes as they have been explicitly excluded

Im am NOT swipeable because my im added to the excludedElements array