Affected Projects
React / VueJS
Is your feature request related to a problem?
It is related to building proper Semantic HTML.
Sometimes the ReactiveBase component is not only used as a wrapper and also has a style/semantic function in the page, but there is no way to customize the rendered HTML tag, so the semantic is lost in some cases.
Describe the solution you'd like
Please provide a way to set a custom tag for the ReactiveBase component that would be inserted in the DOM when the component renders.
````vue
renders:
html
````
````vue
(notice the new *tag* prop)
would render:
html
````
Describe alternatives you've considered
N/A
Thank you!
@felubra This makes sense 馃挴
Instead of tag prop we can name the prop as. So the API would look like:
<ReactiveBase as="article">
...
</ReactiveBase>
@bietkul @siddharthlatest @lakhansamani Thoughts ?
I think we should implement it.
Added here, will be out in next release.
Most helpful comment
Added here, will be out in next release.