-
Notifications
You must be signed in to change notification settings - Fork 200
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
How to destroy plugin instance? #10
Comments
Hi! Currently, there is no such method but I think it would be a nice addition! You can open a PR if you like. For now, you can use: $(element).Loading().overlay.remove(); |
build failed |
Thanks for the PR! I think the error is caused by a bad grunt configuration... I will take a look as soon as I can |
Travis build is now passing after some dependencies update. For reference, the overlay can now be destroyed using. $( selector ).loading('destroy'); Shoud be available at version 1.3.0. Thanks for the help, @sbespalov ! |
Hi.
Is there any methods to destroy plugin instance? Something like
$( element ).loading('destroy')
?The problem is that when i am doing
$( element ).loading('stop')
the overlaydiv
element still exists in the DOM.The text was updated successfully, but these errors were encountered: