Nucleus .Net Core CMS

HtmlHelpers.AddScriptHtmlHelper.WellKnownScriptOrders Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers.AddScriptHtmlHelper
Assembly: Nucleus.ViewFeatures.dll
Constant values used to set script ordering in the AddScript overloads that have an order parameter. Callers to AddScript can also use an integer value, these values are provided for convenience. Scripts added using M:Nucleus.ViewFeatures.HtmlHelpers.AddScriptHtmlHelper.AddScript(Microsoft.AspNetCore.Http.HttpContext,System.String,System.Boolean,System.Boolean,System.Int32,System.Version) can have the same value in the order parameter as another script, in theis case they are ordered by which order AddScript was called in.

Fields

EARLY Field

Place the script first/early in the script order.

DEFAULT Field

Default.

LATE Field

Place the script late in the script order.