Method to revert to original text
rviscomi opened this issue · comments
Add a method to revert the element to its original content, removing any truncation. Perhaps this could be part of a more general "toggle" method that swaps full and truncated text.
Seconding this- this functionality is what's holding me back from using trunk8 currently. Cheers.
@ejfox are you referring to the "revert" or "toggle" functionality? I'm committing a "revert" patch now.
Added $(...).trunk8('revert')
method and a toggle example: http://jrvis.com/trunk8/#toggle