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

add "inheritClasses" option #218

Open
yairEO opened this issue Oct 5, 2016 · 1 comment
Open

add "inheritClasses" option #218

yairEO opened this issue Oct 5, 2016 · 1 comment

Comments

@yairEO
Copy link

yairEO commented Oct 5, 2016

by default the Tethered element inherit the classes of the element which the Tether is applied to, but this isn't always the wanted behavior., and it's not always easy to remove the original classes.

This could also fit inside the already existing "classes" option, ans could look like so:

classes : {
    inherit : false,
    element : 'myTether'
}

I would do a PR but I don't know how you work and how this whole thing works, and I have my own distinct style and it's really really better if you do it since it's so easy to implement, like 5 minutes :)

Thanks for reading! (fan for years)

@yairEO
Copy link
Author

yairEO commented Oct 5, 2016

Also, there's something I find annoying, which is the Tethered element is copying the style of the original one, so if I have opacity:0 or display:none on my element, then the Tether won't show.

Would be good to have a setting for this, or at least mention his behavior in the documentation

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

No branches or pull requests

2 participants