Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials Inheritance: System.Object

Syntax

CloudNimble.BlazorEssentials.Html

Summary

A port of the ASP.NET MVC HtmlHelper class to Blazor.

Remarks

https://github.com/aspnet/AspNetWebStack/blob/main/src/System.Web.Mvc/HtmlHelper.cs & https://github.com/dotnet/aspnetcore/tree/main/src/Mvc/Mvc.ViewFeatures/src/Rendering

Methods

Raw

Outputs HTML to the browser without encoding it.

Syntax

public static Microsoft.AspNetCore.Components.MarkupString Raw(string content)

Parameters

NameTypeDescription
contentstring-

Returns

Type: Microsoft.AspNetCore.Components.MarkupString A MarkupString containing the pre-encoded HTML.