-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
Feature Request: Affix destroy method #5870
Comments
you can turn the plugin off by removing |
To add to @fat's answer, to use different offset settings in different modes, you can So the entire affix reset would look like:
|
If anyone has found this looking for a way to destroy an affix, and happens to be using bootstrap 3. The data name has changed to 'bs.affix' So the way to destroy an affix in boostrap 3 is:
|
@Dsyko just the missing link I was looking for. Thanks! |
@Dsyko Thank you! It's shame that jQuery people does not understand importance of widget lifecycle. |
Successor issue: #13655 |
It seems that affix's functionality is currently limited, it doesn't have any method to do other things like destroy.
I need to be able to turn off /on affix during runtime, is it possible to add this functionality on the next milestone?
The text was updated successfully, but these errors were encountered: