View Source
Class HtmlHelperBackOfficeExtensions
Inheritance
System.Object
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public static class HtmlHelperBackOfficeExtensions
Methods
View Source
AngularValueExternalLoginInfoScriptAsync(IHtmlHelper, IBackOfficeExternalLoginProviders, BackOfficeExternalLoginProviderErrors)
Used to render the script that will pass in the angular "externalLoginInfo" service/value on page load
Declaration
public static async Task<IHtmlContent> AngularValueExternalLoginInfoScriptAsync(this IHtmlHelper html, IBackOfficeExternalLoginProviders externalLogins, BackOfficeExternalLoginProviderErrors externalLoginErrors)
Parameters
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Html.IHtmlContent> |
|
View Source
AngularValueResetPasswordCodeInfoScript(IHtmlHelper, Object)
Used to render the script that will pass in the angular "resetPasswordCodeInfo" service/value on page load
Declaration
public static IHtmlContent AngularValueResetPasswordCodeInfoScript(this IHtmlHelper html, object val)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper |
html |
|
System.Object |
val |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Html.IHtmlContent |
|
View Source
AngularValueTinyMceAssetsAsync(IHtmlHelper, IRuntimeMinifier)
Declaration
public static async Task<IHtmlContent> AngularValueTinyMceAssetsAsync(this IHtmlHelper html, IRuntimeMinifier runtimeMinifier)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper |
html |
|
IRuntimeMinifier |
runtimeMinifier |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Html.IHtmlContent> |
|
View Source
BareMinimumServerVariablesScriptAsync(IHtmlHelper, BackOfficeServerVariables)
Outputs a script tag containing the bare minimum (non secure) server vars for use with the angular app
Declaration
public static async Task<IHtmlContent> BareMinimumServerVariablesScriptAsync(this IHtmlHelper html, BackOfficeServerVariables backOfficeServerVariables)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper |
html |
|
BackOfficeServerVariables |
backOfficeServerVariables |
|
Returns
Type |
Description |
Task<Microsoft.AspNetCore.Html.IHtmlContent> |
|