tether icon indicating copy to clipboard operation
tether copied to clipboard

add "inheritClasses" option

Open yairEO opened this issue 9 years ago • 1 comments

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 avatar Oct 05 '16 16:10 yairEO

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

yairEO avatar Oct 05 '16 16:10 yairEO