public HtmlDatePicker(string name) : base(name, "text") { attributes.Add(attrPlaceholder = new AttrPlaceholder()); attributes.Add(attrDataDateFormat = new AttrDataDateFormat()); attributes.Add(attrDataProvide = new AttrDataProvide("datepicker")); attributes.Add(attrAutoComplete = new AttrAutoComplete()); }
public HtmlTextArea(string name) : base(name, "") { attributes.Add(attrPlaceholder = new AttrPlaceholder()); attributes.Add(attrRows = new AttrRows()); attributes.Add(attrCols = new AttrCols()); }
public HtmlNumberBox(string name) : base(name, "number") { attributes.Add(attrPlaceholder = new AttrPlaceholder()); attributes.Add(attrMin = new AttrMin()); attributes.Add(attrMax = new AttrMax()); attributes.Add(attrStep = new AttrStep()); }
public HtmlTextBox(string name) : base(name, "text") { attributes.Add(attrPlaceholder = new AttrPlaceholder()); attributes.Add(attrDataNumber = new AttrDataNumber()); attributes.Add(attrDataMin = new AttrDataMin()); attributes.Add(attrDataMax = new AttrDataMax()); attributes.Add(attrDataStep = new AttrDataStep()); attributes.Add(attrDataPrecision = new AttrDataPrecision()); events.Add(eventChange = new EventChange()); events.Add(eventFocus = new EventFocus()); events.Add(eventBlur = new EventBlur()); }
public HtmlPasswordBox(string name) : base(name, "password") { attributes.Add(attrPlaceholder = new AttrPlaceholder()); }