Exemplo n.º 1
0
 public Panel(BootTheme type = BootTheme.Default, params Union <string, Control, HTMLElement>[] typos) : base("panel" + Extension.GetClassTheme(" panel-", type), typos)
 {
 }
Exemplo n.º 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;
     }
 }