Ejemplo n.º 1
0
 public static Elt OptionSearch(string name, Var <string> criteriaLens, View <IEnumerable <string> > optionView,
                                Var <bool> useCriteriaLens, Action <global::WebSharper.JavaScript.Dom.Element, global::WebSharper.JavaScript.Dom.Event> changeAction)
 {
     return(Html.span(Html.checkbox(useCriteriaLens), name + ": ", Html.@select(criteriaLens, optionView, (q) => q ?? "Please Select a " + name + "..."),
                      [email protected](changeAction)));
 }