kavalcante / vue-truncate-collapsed

A simple component that truncates your text and adds a 'Read More/Show Less' clickable.
https://kavalcante.github.io/vue-truncate-collapsed/
MIT License
108 stars 17 forks source link

add emit event to toggle #11

Closed OmgImAlexis closed 6 years ago

OmgImAlexis commented 6 years ago

Closes https://github.com/kavalcante/vue-truncate-collapsed/issues/10

Not too sure why your dist is added to the repo as it should really be excluded and just built before pushing to npm, etc.

kavalcante commented 6 years ago

Thanks for your PR!

kavalcante commented 6 years ago

And about the dist, in old versions this was necessary because of the UMD version. But now, we use Unpkg, so this is unnecessary, I'll remove and build a new version with your modifications for npm.