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 classname when clamped #29

Open
dcorb opened this issue Nov 28, 2017 · 3 comments
Open

Add classname when clamped #29

dcorb opened this issue Nov 28, 2017 · 3 comments

Comments

@dcorb
Copy link

dcorb commented Nov 28, 2017

I want to add a "more" link only when text is clamped..

It would be nice I could do something like this:

.dotdotdot-clamped-text link {
display:none;
}

Just needs a class to the container to know if text is clamped or not, it will be helpful

@alexxmde-zz
Copy link

Looking for this feature too, would be very handy

@josiahgallen
Copy link

yes please! this would be a great feature to include

@dparker2
Copy link

Is there currently any way to detect if the content is clamped from JS?

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

5 participants