public static void Error(this Html5.HTMLDivElement div, string title, string message, UIIcons icon = UIIcons.Alert) { var para = new Html5.HTMLParagraphElement(); para.AppendChild(new Html5.HTMLSpanElement() { ClassName = "ui-icon " + icon.ToString() }); para.AppendChild(new Html5.HTMLElement("strong") { TextContent = title }); para.AppendChild(new Html5.Text(message)); div.AppendChild(para); div.ClassList.Add("ui-state-error"); div.ClassList.Add("ui-corner-all"); }
public ResizeablePrameterCollection() { var test = new Html5.HTMLDivElement() { }; Animate = false; AnimateDuration = (int)AnimationSpeeds.Fast; AnimateEasing = Easings.Swing; AutoHide = false; Classes = null; Delay = 0; Disabled = false; MaxHeight = -1; MaxWidht = -1; MinWidth = -1; MinHeight = -1; }