React-dotdotdot
React-dotdotdot copied to clipboard
Add classname when clamped
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
Looking for this feature too, would be very handy
yes please! this would be a great feature to include
Is there currently any way to detect if the content is clamped from JS?