input
InputElement
input(
Create an input element
Implementation
InputElement input({
String? type,
String? value,
String? placeholder,
void Function(JSAny)? onChange,
Map<String, dynamic>? props,
Map<String, dynamic>? style,
String? className,
}) {
final p = _buildProps(props: props, style: style, className: className);
if (type != null) p['type'] = type;
if (value != null) p['value'] = value;
if (placeholder != null) p['placeholder'] = placeholder;
if (onChange != null) p['onChange'] = onChange;
return InputElement.fromJS(createElement('input'.toJS, createProps(p)));
}