score:1

Accepted answer

the main reason you can't get it to work is because you use the code from this question, which is written for version 2.7, and you are using version 3.2. there are many breaking changes with version 3, including many different names in the options.

i couldn't get it working either, but it should be easily possible with a 3.x version.

here's a link to a github post including a jsfiddle link.


Related Query

More Query from same tag