public static Element <THelper> Close <THelper>(this ITagCreator <THelper> creator) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "button").AddCss(Css.Close) .AddAttribute("type", "button") .AddContent("<span aria-hidden=\"true\">×</span><span class=\"sr-only\">Close</span>")); }
public static IconSpan <THelper> Icon <THelper>(this ITagCreator <THelper> creator, Icon icon) where THelper : BootstrapHelper <THelper> { return(new IconSpan <THelper>(creator, icon)); }
public static Element <THelper> PullRight <THelper>(this ITagCreator <THelper> creator) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "div").AddCss(Css.PullRight)); }
public static Element <THelper> Caret <THelper>(this ITagCreator <THelper> creator) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "span").AddCss(Css.Caret)); }
public static Element <THelper> Strikethrough <THelper>(this ITagCreator <THelper> creator, string text = null) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "s").SetText(text)); }
public static Element <THelper> CenterBlock <THelper>(this ITagCreator <THelper> creator) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "div").AddCss(Css.CenterBlock)); }
public static Element <THelper> Lead <THelper>(this ITagCreator <THelper> creator, string text = null) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "p").AddCss(Css.Lead).SetText(text)); }
public static Element <THelper> Deleted <THelper>(this ITagCreator <THelper> creator, string text = null) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "del").SetText(text)); }
public static Pre <THelper> Preformatted <THelper>(this ITagCreator <THelper> creator, string text = null) where THelper : BootstrapHelper <THelper> { return(new Pre <THelper>(creator).SetText(text)); }
public static Element <THelper> Variable <THelper>(this ITagCreator <THelper> creator, string text = null) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "var").SetText(text)); }
public static Cite <THelper> Cite <THelper>(this ITagCreator <THelper> creator, string title = null, string text = null) where THelper : BootstrapHelper <THelper> { return(new Cite <THelper>(creator).SetTitle(title).SetText(text)); }
// Blockquote public static Blockquote <THelper> Blockquote <THelper>(this ITagCreator <THelper> creator, string quote = null, string footer = null) where THelper : BootstrapHelper <THelper> { return(new Blockquote <THelper>(creator).SetQuote(quote).SetFooter(footer)); }
// Abbreviation public static Abbr <THelper> Abbreviation <THelper>(this ITagCreator <THelper> creator, string title, string text) where THelper : BootstrapHelper <THelper> { return(new Abbr <THelper>(creator).SetTitle(title).SetText(text)); }
public static Element <THelper> Span <THelper>(this ITagCreator <THelper> creator) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, "span")); }
public static Element <THelper> Element <THelper>(this ITagCreator <THelper> creator, string name) where THelper : BootstrapHelper <THelper> { return(new Element <THelper>(creator, name)); }