public Panel(BootTheme type = BootTheme.Default, params Union <string, Control, HTMLElement>[] typos) : base("panel" + Extension.GetClassTheme(" panel-", type), typos)
 {
 }
Exemple #2
0
 public Button(string text = "", BootTheme type = BootTheme.Default, ButtonType buttonType = ButtonType.Button) : base(new HTMLButtonElement() { Type = buttonType, ClassName = "btn" + Extension.GetClassTheme(" btn-", type) })
 {
     if (!string.IsNullOrWhiteSpace(text))
     {
         Content.InnerHTML = text;
     }
 }