src/MvcContrib.FluentHtml/Elements/Element.cs
/// <summary>
/// Add a value to the 'class' attribute.
/// </summary>
/// <param name="classToAdd">The value of the class to add.</param>
Add a value to the 'class' attribute.
Add a value to the ' class ' attribute .
public virtual T Class(string classToAdd)
		{
			builder.AddCssClass(classToAdd);
			return (T)this;
		}
public virtual T Class ( string classToAdd ) { builder . AddCssClass ( classToAdd ) ; return ( T ) this ; }
Add a value to the 'class' attribute.
Add a value to the ' class ' attribute .
classToAdd
string
The value of the class to add.
The value of the class to add .