input function

ElementNode input({
  1. Object? key,
  2. Ref<Element?>? ref,
  3. String? accesskey,
  4. String? className,
  5. String? contenteditable,
  6. String? dir,
  7. String? draggable,
  8. String? hidden,
  9. String? id,
  10. String? lang,
  11. String? spellcheck,
  12. String? style,
  13. String? tabindex,
  14. String? title,
  15. String? accept,
  16. String? alt,
  17. String? autocomplete,
  18. String? autofocus,
  19. String? checked,
  20. String? dirname,
  21. String? disabled,
  22. String? form,
  23. String? formaction,
  24. String? formenctype,
  25. String? formmethod,
  26. String? formnovalidate,
  27. String? formtarget,
  28. String? height,
  29. String? list,
  30. String? max,
  31. String? maxlength,
  32. String? min,
  33. String? minlength,
  34. String? multiple,
  35. String? name,
  36. String? pattern,
  37. String? placeholder,
  38. String? readonly,
  39. String? required,
  40. String? size,
  41. String? src,
  42. String? step,
  43. String? type,
  44. String? value,
  45. String? width,
  46. EventListener<UIEvent>? onabort,
  47. EventListener<Event>? onafterprint,
  48. EventListener<Event>? onbeforeprint,
  49. EventListener<BeforeUnloadEvent>? onbeforeunload,
  50. EventListener<FocusEvent>? onblur,
  51. EventListener<MouseEvent>? onclick,
  52. EventListener<Event>? onchange,
  53. EventListener<CompositionEvent>? oncompositionend,
  54. EventListener<CompositionEvent>? oncompositionstart,
  55. EventListener<CompositionEvent>? oncompositionupdate,
  56. EventListener<MouseEvent>? oncontextmenu,
  57. EventListener<MouseEvent>? ondblclick,
  58. EventListener<MouseEvent>? ondrag,
  59. EventListener<MouseEvent>? ondragend,
  60. EventListener<MouseEvent>? ondragenter,
  61. EventListener<MouseEvent>? ondragleave,
  62. EventListener<MouseEvent>? ondragover,
  63. EventListener<MouseEvent>? ondragstart,
  64. EventListener<MouseEvent>? ondrop,
  65. EventListener<UIEvent>? onerror,
  66. EventListener<FocusEvent>? onfocus,
  67. EventListener<FocusEvent>? onfocusin,
  68. EventListener<FocusEvent>? onfocusout,
  69. EventListener<HashChangeEvent>? onhashchange,
  70. EventListener<Event>? oninput,
  71. EventListener<Event>? oninvalid,
  72. EventListener<KeyboardEvent>? onkeydown,
  73. EventListener<KeyboardEvent>? onkeyup,
  74. EventListener<Event>? onlanguagechange,
  75. EventListener<UIEvent>? onload,
  76. EventListener<MouseEvent>? onmousedown,
  77. EventListener<MouseEvent>? onmouseenter,
  78. EventListener<MouseEvent>? onmouseleave,
  79. EventListener<MouseEvent>? onmousemove,
  80. EventListener<MouseEvent>? onmouseout,
  81. EventListener<MouseEvent>? onmouseover,
  82. EventListener<MouseEvent>? onmouseup,
  83. EventListener<PageTransitionEvent>? onpagehide,
  84. EventListener<PageTransitionEvent>? onpageshow,
  85. EventListener<PopStateEvent>? onpopstate,
  86. EventListener<Event>? onreset,
  87. EventListener<UIEvent>? onresize,
  88. EventListener<UIEvent>? onscroll,
  89. EventListener<UIEvent>? onselect,
  90. EventListener<MouseEvent>? onshow,
  91. EventListener<Event>? onsubmit,
  92. EventListener<UIEvent>? onunload,
  93. EventListener<WheelEvent>? onwheel,
  94. Iterable<DeactNode>? children,
})

Implementation

ElementNode input({
  Object? key,
  Ref<h.Element?>? ref,
  String? accesskey,
  String? className,
  String? contenteditable,
  String? dir,
  String? draggable,
  String? hidden,
  String? id,
  String? lang,
  String? spellcheck,
  String? style,
  String? tabindex,
  String? title,
  String? accept,
  String? alt,
  String? autocomplete,
  String? autofocus,
  String? checked,
  String? dirname,
  String? disabled,
  String? form,
  String? formaction,
  String? formenctype,
  String? formmethod,
  String? formnovalidate,
  String? formtarget,
  String? height,
  String? list,
  String? max,
  String? maxlength,
  String? min,
  String? minlength,
  String? multiple,
  String? name,
  String? pattern,
  String? placeholder,
  String? readonly,
  String? required,
  String? size,
  String? src,
  String? step,
  String? type,
  String? value,
  String? width,
  EventListener<h.UIEvent>? onabort,
  EventListener<h.Event>? onafterprint,
  EventListener<h.Event>? onbeforeprint,
  EventListener<h.BeforeUnloadEvent>? onbeforeunload,
  EventListener<h.FocusEvent>? onblur,
  EventListener<h.MouseEvent>? onclick,
  EventListener<h.Event>? onchange,
  EventListener<h.CompositionEvent>? oncompositionend,
  EventListener<h.CompositionEvent>? oncompositionstart,
  EventListener<h.CompositionEvent>? oncompositionupdate,
  EventListener<h.MouseEvent>? oncontextmenu,
  EventListener<h.MouseEvent>? ondblclick,
  EventListener<h.MouseEvent>? ondrag,
  EventListener<h.MouseEvent>? ondragend,
  EventListener<h.MouseEvent>? ondragenter,
  EventListener<h.MouseEvent>? ondragleave,
  EventListener<h.MouseEvent>? ondragover,
  EventListener<h.MouseEvent>? ondragstart,
  EventListener<h.MouseEvent>? ondrop,
  EventListener<h.UIEvent>? onerror,
  EventListener<h.FocusEvent>? onfocus,
  EventListener<h.FocusEvent>? onfocusin,
  EventListener<h.FocusEvent>? onfocusout,
  EventListener<h.HashChangeEvent>? onhashchange,
  EventListener<h.Event>? oninput,
  EventListener<h.Event>? oninvalid,
  EventListener<h.KeyboardEvent>? onkeydown,
  EventListener<h.KeyboardEvent>? onkeyup,
  EventListener<h.Event>? onlanguagechange,
  EventListener<h.UIEvent>? onload,
  EventListener<h.MouseEvent>? onmousedown,
  EventListener<h.MouseEvent>? onmouseenter,
  EventListener<h.MouseEvent>? onmouseleave,
  EventListener<h.MouseEvent>? onmousemove,
  EventListener<h.MouseEvent>? onmouseout,
  EventListener<h.MouseEvent>? onmouseover,
  EventListener<h.MouseEvent>? onmouseup,
  EventListener<h.PageTransitionEvent>? onpagehide,
  EventListener<h.PageTransitionEvent>? onpageshow,
  EventListener<h.PopStateEvent>? onpopstate,
  EventListener<h.Event>? onreset,
  EventListener<h.UIEvent>? onresize,
  EventListener<h.UIEvent>? onscroll,
  EventListener<h.UIEvent>? onselect,
  EventListener<h.MouseEvent>? onshow,
  EventListener<h.Event>? onsubmit,
  EventListener<h.UIEvent>? onunload,
  EventListener<h.WheelEvent>? onwheel,
  Iterable<DeactNode>? children,
}) {
  final attributes = <String, Object>{};
  if (accesskey != null) {
    attributes['accesskey'] = accesskey;
  }
  if (className != null) {
    attributes['class'] = className;
  }
  if (contenteditable != null) {
    attributes['contenteditable'] = contenteditable;
  }
  if (dir != null) {
    attributes['dir'] = dir;
  }
  if (draggable != null) {
    attributes['draggable'] = draggable;
  }
  if (hidden != null) {
    attributes['hidden'] = hidden;
  }
  if (id != null) {
    attributes['id'] = id;
  }
  if (lang != null) {
    attributes['lang'] = lang;
  }
  if (spellcheck != null) {
    attributes['spellcheck'] = spellcheck;
  }
  if (style != null) {
    attributes['style'] = style;
  }
  if (tabindex != null) {
    attributes['tabindex'] = tabindex;
  }
  if (title != null) {
    attributes['title'] = title;
  }
  if (accept != null) {
    attributes['accept'] = accept;
  }
  if (alt != null) {
    attributes['alt'] = alt;
  }
  if (autocomplete != null) {
    attributes['autocomplete'] = autocomplete;
  }
  if (autofocus != null) {
    attributes['autofocus'] = autofocus;
  }
  if (checked != null) {
    attributes['checked'] = checked;
  }
  if (dirname != null) {
    attributes['dirname'] = dirname;
  }
  if (disabled != null) {
    attributes['disabled'] = disabled;
  }
  if (form != null) {
    attributes['form'] = form;
  }
  if (formaction != null) {
    attributes['formaction'] = formaction;
  }
  if (formenctype != null) {
    attributes['formenctype'] = formenctype;
  }
  if (formmethod != null) {
    attributes['formmethod'] = formmethod;
  }
  if (formnovalidate != null) {
    attributes['formnovalidate'] = formnovalidate;
  }
  if (formtarget != null) {
    attributes['formtarget'] = formtarget;
  }
  if (height != null) {
    attributes['height'] = height;
  }
  if (list != null) {
    attributes['list'] = list;
  }
  if (max != null) {
    attributes['max'] = max;
  }
  if (maxlength != null) {
    attributes['maxlength'] = maxlength;
  }
  if (min != null) {
    attributes['min'] = min;
  }
  if (minlength != null) {
    attributes['minlength'] = minlength;
  }
  if (multiple != null) {
    attributes['multiple'] = multiple;
  }
  if (name != null) {
    attributes['name'] = name;
  }
  if (pattern != null) {
    attributes['pattern'] = pattern;
  }
  if (placeholder != null) {
    attributes['placeholder'] = placeholder;
  }
  if (readonly != null) {
    attributes['readonly'] = readonly;
  }
  if (required != null) {
    attributes['required'] = required;
  }
  if (size != null) {
    attributes['size'] = size;
  }
  if (src != null) {
    attributes['src'] = src;
  }
  if (step != null) {
    attributes['step'] = step;
  }
  if (type != null) {
    attributes['type'] = type;
  }
  if (value != null) {
    attributes['value'] = value;
  }
  if (width != null) {
    attributes['width'] = width;
  }
  final listeners = <String, Object>{};
  if (onabort != null) {
    listeners['onabort'] = onabort;
  }
  if (onafterprint != null) {
    listeners['onafterprint'] = onafterprint;
  }
  if (onbeforeprint != null) {
    listeners['onbeforeprint'] = onbeforeprint;
  }
  if (onbeforeunload != null) {
    listeners['onbeforeunload'] = onbeforeunload;
  }
  if (onblur != null) {
    listeners['onblur'] = onblur;
  }
  if (onclick != null) {
    listeners['onclick'] = onclick;
  }
  if (onchange != null) {
    listeners['onchange'] = onchange;
  }
  if (oncompositionend != null) {
    listeners['oncompositionend'] = oncompositionend;
  }
  if (oncompositionstart != null) {
    listeners['oncompositionstart'] = oncompositionstart;
  }
  if (oncompositionupdate != null) {
    listeners['oncompositionupdate'] = oncompositionupdate;
  }
  if (oncontextmenu != null) {
    listeners['oncontextmenu'] = oncontextmenu;
  }
  if (ondblclick != null) {
    listeners['ondblclick'] = ondblclick;
  }
  if (ondrag != null) {
    listeners['ondrag'] = ondrag;
  }
  if (ondragend != null) {
    listeners['ondragend'] = ondragend;
  }
  if (ondragenter != null) {
    listeners['ondragenter'] = ondragenter;
  }
  if (ondragleave != null) {
    listeners['ondragleave'] = ondragleave;
  }
  if (ondragover != null) {
    listeners['ondragover'] = ondragover;
  }
  if (ondragstart != null) {
    listeners['ondragstart'] = ondragstart;
  }
  if (ondrop != null) {
    listeners['ondrop'] = ondrop;
  }
  if (onerror != null) {
    listeners['onerror'] = onerror;
  }
  if (onfocus != null) {
    listeners['onfocus'] = onfocus;
  }
  if (onfocusin != null) {
    listeners['onfocusin'] = onfocusin;
  }
  if (onfocusout != null) {
    listeners['onfocusout'] = onfocusout;
  }
  if (onhashchange != null) {
    listeners['onhashchange'] = onhashchange;
  }
  if (oninput != null) {
    listeners['oninput'] = oninput;
  }
  if (oninvalid != null) {
    listeners['oninvalid'] = oninvalid;
  }
  if (onkeydown != null) {
    listeners['onkeydown'] = onkeydown;
  }
  if (onkeyup != null) {
    listeners['onkeyup'] = onkeyup;
  }
  if (onlanguagechange != null) {
    listeners['onlanguagechange'] = onlanguagechange;
  }
  if (onload != null) {
    listeners['onload'] = onload;
  }
  if (onmousedown != null) {
    listeners['onmousedown'] = onmousedown;
  }
  if (onmouseenter != null) {
    listeners['onmouseenter'] = onmouseenter;
  }
  if (onmouseleave != null) {
    listeners['onmouseleave'] = onmouseleave;
  }
  if (onmousemove != null) {
    listeners['onmousemove'] = onmousemove;
  }
  if (onmouseout != null) {
    listeners['onmouseout'] = onmouseout;
  }
  if (onmouseover != null) {
    listeners['onmouseover'] = onmouseover;
  }
  if (onmouseup != null) {
    listeners['onmouseup'] = onmouseup;
  }
  if (onpagehide != null) {
    listeners['onpagehide'] = onpagehide;
  }
  if (onpageshow != null) {
    listeners['onpageshow'] = onpageshow;
  }
  if (onpopstate != null) {
    listeners['onpopstate'] = onpopstate;
  }
  if (onreset != null) {
    listeners['onreset'] = onreset;
  }
  if (onresize != null) {
    listeners['onresize'] = onresize;
  }
  if (onscroll != null) {
    listeners['onscroll'] = onscroll;
  }
  if (onselect != null) {
    listeners['onselect'] = onselect;
  }
  if (onshow != null) {
    listeners['onshow'] = onshow;
  }
  if (onsubmit != null) {
    listeners['onsubmit'] = onsubmit;
  }
  if (onunload != null) {
    listeners['onunload'] = onunload;
  }
  if (onwheel != null) {
    listeners['onwheel'] = onwheel;
  }
  return el(
    'input',
    key: key,
    ref: ref,
    attributes: attributes,
    listeners: listeners,
    children: children,
  );
}