-
Notifications
You must be signed in to change notification settings - Fork 16
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
remove styles #13
Comments
Yes, you can do that yourself. You need to redefine the That computed function is only used in the style property: When importing, just redefine the function to return an empty string instead: import headroom from 'vue-headroom'
headroom.computed.style = () => '' I hope it helps! |
Can this be documented? I thought this plugin would be more like the original headroom.js, but the inline styles have been getting in my way. |
I think that this need to be a prop to wether or not use the inline-style (and I guess that most of the time that will be turn off). ie. |
Hi there, any chance for the option to remove any inline styles, and just use the classes for CSS changes.
Cheers!
The text was updated successfully, but these errors were encountered: