public UISection AddImageTextValue(string src, string text, String value, Web.UIClick click) { var cell = UICell.Create("ImageTextValue", new UMC.Web.WebMeta().Put("src", src, "value", value, "text", text).Put("click", click)); this.Add(cell); return(this); }
public UISection AddNumberCell(string text, String value, string title, Web.UIClick submit) { var cell = UICell.Create("NumberCell", new UMC.Web.WebMeta().Put("text", text, "value", value, "title", title).Put("submit", submit)); this.Add(cell); return(this); }
public UISection AddImageTextValue(string src, String value, int imageWidth, Web.UIClick click) { var cell = UICell.Create("ImageTextValue", new UMC.Web.WebMeta().Put("src", src, "value", value).Put("click", click)); cell.Style.Name("image-width", imageWidth); this.Add(cell); return(this); }
public UISection AddCell(char icon, String text, String value, UIClick click) { return(this.Add(UICell.Create("UI", new WebMeta().Put("value", value, "text", text).Put("Icon", icon).Put("click", click)))); }
public UISection AddCell(String text, String value) { return(this.Add(UICell.Create("Cell", new WebMeta().Put("value", value, "text", text)))); }
public UISection AddCell(String text, UIClick click) { return(this.Add(UICell.Create("Cell", new WebMeta().Put("text", text).Put("click", click)))); }
public static UICell Create(params UISlider[] sliders) { return(UICell.Create("Slider", new WebMeta().Put("data", sliders))); }