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\">&times;</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));
 }
Esempio n. 5
0
 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));
 }
Esempio n. 7
0
 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));
 }
Esempio n. 8
0
 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));
 }
Esempio n. 9
0
 public static Pre <THelper> Preformatted <THelper>(this ITagCreator <THelper> creator, string text = null)
     where THelper : BootstrapHelper <THelper>
 {
     return(new Pre <THelper>(creator).SetText(text));
 }
Esempio n. 10
0
 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));
 }
Esempio n. 11
0
 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));
 }
Esempio n. 12
0
        // 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));
        }
Esempio n. 13
0
        // 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));
        }
Esempio n. 14
0
 public static Element <THelper> Span <THelper>(this ITagCreator <THelper> creator)
     where THelper : BootstrapHelper <THelper>
 {
     return(new Element <THelper>(creator, "span"));
 }
Esempio n. 15
0
 public static Element <THelper> Element <THelper>(this ITagCreator <THelper> creator, string name)
     where THelper : BootstrapHelper <THelper>
 {
     return(new Element <THelper>(creator, name));
 }