InputElement constructor
Implementation
factory InputElement({String type}) {
InputElement e = document.createElement("input");
if (type != null) {
try {
// IE throws an exception for unknown types.
e.type = type;
} catch (_) {}
}
return e;
}