Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "html" prop #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add "html" prop #12

wants to merge 3 commits into from

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