jQWidgets jqxTouch swipeMax Property
The swipeMax property is used for setting or getting the maximum swipe distance for the specified jqxTouch widget. After passing the propagation of the touch event will be restored, therefore the scrolling will be available.
For setting the swipeMax property:
For getting the swipeMax property:
var swipeMin = $('#jqxTouch').jqxTouch('swipeMax');
Linked Files: Download jQWidgets from the given link. In the HTML file, locate the script files in the downloaded folder.
<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
Example: The below example illustrates the jQWidgets jqxTouch swipeMax property. In the below example, the value for the swipeMax property has been set to 300.