Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart drum #5

Open
povtasci opened this issue Jul 13, 2015 · 2 comments
Open

Restart drum #5

povtasci opened this issue Jul 13, 2015 · 2 comments

Comments

@povtasci
Copy link

I need to restart the plugin for some cases depend on something, is there any way for this ?

@duyphuong2101
Copy link

when click Reset button, i need to restart default value

@cyclomaticsegal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants