/// <summary> /// Create an inline list. /// </summary> /// <param name="list">List to be converted</param> /// <returns>An inline list</returns> public static IExtendedHtmlStringLegacy AsInline(this HtmlList list) { list.CssClasses.Add("inline list-inline"); // TODO: Remove redundant re-conversion return(list.ToHtmlElement()); }
/// <summary> /// Create an unstyled list /// </summary> /// <param name="list">List to be converted</param> /// <returns>An unstyled list</returns> public static IExtendedHtmlStringLegacy AsUnstyled(this HtmlList list) { list.CssClasses.Add("unstyled list-unstyled"); // TODO: Remove redundant re-conversion return(list.ToHtmlElement()); }