Skip to content

add "inheritClasses" option #218

Description

@yairEO

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)

Activity

  1. yairEO commented on Oct 5, 2016

    @yairEO
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions