nanoclamp
nanoclamp copied to clipboard
Clamping callback
Hi @Kikobeats, thanks for putting out this library! I am wondering if it would be possible to accept a callback function that is called if text is being clamped?
My use-case is that I want to show a 'Read More' link incase the text is being clamped, and nothing if all the text is being displayed.
Thoughts?
Sounds a good idea, I think @breadadams talked me about that
PR for that are welcome 🙂