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
I believe templated components don't work for the above scenario.
There had been a request for getting more access to the RenderFragment #9493 which got a handful of upvotes before it was closed ( with the hint that it might be done later )
@SteveSandersonMS was asking about use cases for getting access to the RenderFragement in the #9493 issue.
My current use case is allowing the user to easily create a draggable list. Therefore I want the user to be able to wrap a component around his <li> tags - the component would add the relevant stuff to each <li> tag to make it draggable.
Furthermore, I also was thinking about something like this
<SyntaxHighlight>
..... code here ... </SyntaxHighlight>
Is there a simple way to modify the rendered child content?
Example:
MyComponent.razor
This outputs:
However, I want to wrap each passed li item in a special div or wrap another component around it.
So my desired output would be like this:
or
Is this supported?
The text was updated successfully, but these errors were encountered: