Closed koenverburg closed 7 years ago
The "-" version is only if you pass the options through html attributes. ie: <div data-cycle-allow-wrap="false">
If you want to pass the options to the javascript function, you need to convert them to camelcase. In this case: allowWrap: false
http://jquery.malsup.com/cycle2/api/#options
Thanks for clarifying!!
Im trying to get swiping to work, but
swipe-fx
will cause an error likeSyntaxError: missing : after property id
this is mainly caused by the-
in the variable name.my code