Skip to content

Usage In Blazor #117

@jameswoodley

Description

@jameswoodley

I have an HTML string that's being returned via an API call in Blazor. I'd love to use HtmlTags to then display these in my Blazor component. Is this possible? Currently I have

@foreach (var element in _form.Elements)
{
   var htmlElement = new HtmlTag(element.Html);
   <what do I put here to render it?>
}

I'm not sure how to get that element rendered?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions