React-dotdotdot icon indicating copy to clipboard operation
React-dotdotdot copied to clipboard

Add classname when clamped

Open dcorb opened this issue 7 years ago • 3 comments

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

dcorb avatar Nov 28 '17 18:11 dcorb

Looking for this feature too, would be very handy

alexxmde-zz avatar Feb 19 '18 19:02 alexxmde-zz

yes please! this would be a great feature to include

josiahgallen avatar Jun 18 '18 18:06 josiahgallen

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

dparker2 avatar Apr 25 '19 16:04 dparker2