Skip to content

Conversation

ptdev
Copy link

@ptdev ptdev commented Jul 28, 2024

Sometimes the input already has some html tags (e.g.: p, br, etc) that we want to render as if we were using v-html. This adds a "html" boolean prop that allows that.

Example:

<text-clamp :text="string_with_html" :max-lines="8" html />

Cheers 👍

ptdev added 3 commits July 28, 2024 23:57
Sometimes the input already has some html tags (e.g.: p, br, etc) that we want to render as if we were using v-html. This adds a "html" boolean prop that allows that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant