HtmlHelperExtensions.SvgOverlaySpinner Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

SvgOverlaySpinner(HtmlHelper, int, bool, string, string)

Renders markup for an animated spinner on an overlay background.

public static MvcHtmlString SvgOverlaySpinner(this HtmlHelper html, int size = 24, bool spin = false, string color = "rgba(255,255,255, 0.5)", string id = "svg-overlay-spinner")

Parameters

html
System.Web.Mvc.HtmlHelper
size
int
spin
bool

true to add the .spin class on first render.

color
string

Background color of overlay

id
string

DOM id of the overlay spinner

Returns

System.Web.Mvc.MvcHtmlString