sherwinshen/vue3-text-clamp

Feature Request: set html tag for render/

Opened this issue · 0 comments

What is the problem?
It is necessary to use not only

for rendering content, but also any other block element, for example h1-h6.

Example:

<text-clamp test="Hello world" :max-length="2" tag="h2"/>

What needs to be done?
Implement the change of the div element that defaults to any other HTML element.