Closed mituller closed 5 years ago
<v-clamp autoresize :max-lines="1">
{{ text }}
<button
v-if="expanded || clamped"
slot="after"
slot-scope="{ toggle, expanded, clamped }"
@click="toggle"
>
{{ expanded ? 'Read Less' : 'Read More' }}
</button>
</v-clamp>
Thank you.
Is there a way to change the text of the button that expands the text so that it could read something like Read More and then Read Less when expanded?