My slider plugin is built using the Owl Carousel 2 slider engine. If you have a look at the following Owl Carousel options documentation:
https://owlcarousel2.github.io/OwlCarousel2/docs/api-options.html
You will see the options available (many of which I use within plugin). I use these 2 options:
slideTransition – sets normal slide transition speed (auto slide, and arrow/dot nav)
mouseDrag – enable mouse drag
touchDrag – enable touch drag
I see there is also a “dragEndSpeed” option which may be the option to set the transition for mouseDrag and touchDrag.
You cold possibly test option this by editing this plugin file:
/wp-content/plugins/slide-anything/php/slide-anything-frontend.php
Look at editing lines 990 ish:
$output .= " mouseDrag : ".esc_attr($slide_data['mouse_drag']).",\n";
$output .= " touchDrag : ".esc_attr($slide_data['touch_drag'])."\n";
$output .= " });\n";
Change this to:
$output .= " mouseDrag : ".esc_attr($slide_data['mouse_drag']).",\n";
$output .= " dragEndSpeed : ???,\n";
$output .= " touchDrag : ".esc_attr($slide_data['touch_drag'])."\n";
(experiment changing the ??? to numeric valies – I think its millseconds)
If this works I can can have a look at adding this in a future release and setting it to the same value as the transition setting.
-
This reply was modified 4 years, 4 months ago by
simonpedge.