internal static IHTMLInput InternalConstructor(HTMLInputTypeEnum type, string name, string value) { IHTMLInput n = null; var _radio = HTMLInputTypeEnum.radio; if (type == _radio) { // TODO: escape name and value n = (IHTMLInput) new IFunction("e", "/*@cc_on return this.createElement(e); @*/ return null;").apply(Native.Document, "<input type='radio' name='" + name + "' value='" + value + "' />" ); } if (n == null) { n = new IHTMLInput(); n.type = type; n.name = name; n.value = value; } return(n); }
internal static IHTMLInput InternalConstructor(HTMLInputTypeEnum type, string value) { IHTMLInput n = new IHTMLInput(type); n.value = value; return(n); }
internal static IHTMLInput InternalConstructor(HTMLInputTypeEnum type) { IHTMLInput n = null; var _radio = HTMLInputTypeEnum.radio; if (type == _radio) { n = (IHTMLInput) new IFunction("e", "/*@cc_on return this.createElement(e); @*/ return null;").apply(Native.Document, "<input type='radio' name='' value='' />"); } if (n == null) { n = new IHTMLInput(); n.type = type; } return(n); }
public IHTMLInput(HTMLInputTypeEnum type, string name, string value) { }
public IHTMLInput(HTMLInputTypeEnum type) { }