vue3-clamp
Version:
Clamping multiline text with ease.
40 lines (23 loc) • 712 B
Markdown
## 0.4.1
* Fix clamped text for `location="start"`.
* Text content is now always be trimmed.
## 0.4.0
* Add `location` prop. (#66)
* Add ESM output and no longer require users to transpile.
* Externalize `resize-detector` to reduce bundle size.
## 0.3.2
* Fix the problem caused by array spread. (#47)
## 0.3.1
* Fix SSR support.
* Fix RTL support.
## 0.3.0
* Add `clampchange` event.
## 0.2.2
* Preserve at lease a single line of content when even a single line would exceeds `max-height`.
## 0.2.1
* Update layout when clamp status has been changed.
## 0.2.0
* Add `clamped: boolean` and `expanded: boolean` to scoped slot `before`/`after`.
* Fix content extraction.
## 0.1.0
* First release.