drumjs
drumjs copied to clipboard
Restart drum
I need to restart the plugin for some cases depend on something, is there any way for this ?
when click Reset button, i need to restart default value
If I understand your requirement (like my own)... you need to reset this:
element.data('drum', null)
Have a look at drum.js file and find line 331
if (!element.data('drum')) {
This line is getting in your (our way). In my case I have one drum options filter the list shown in another drum.