You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
I use <OnVisible/> to render comments tree for a forum topic. Each single comment is an <OnVisible/> instance. I wish to add, for example, an id attribute to the element, but there are no ability for that. Now I just add extra wrapper element only to add id to it, but this is +1 nested elements on each reply level. I need an id attribute to whole element containing a comment, not to any part of a comment.
Someone else would to add some other attributes like data-* or title. Someone else would to use a or img element directly without an extra wrapper element.
Hello.
I use
<OnVisible/>
to render comments tree for a forum topic. Each single comment is an<OnVisible/>
instance. I wish to add, for example, anid
attribute to the element, but there are no ability for that. Now I just add extra wrapper element only to addid
to it, but this is +1 nested elements on each reply level. I need anid
attribute to whole element containing a comment, not to any part of a comment.Someone else would to add some other attributes like
data-*
ortitle
. Someone else would to usea
orimg
element directly without an extra wrapper element.There are a common practice to use
...rest
props for root element's attributes.The text was updated successfully, but these errors were encountered: